diff --git a/build.gradle b/build.gradle index e8a8db2..9251580 100644 --- a/build.gradle +++ b/build.gradle @@ -88,11 +88,17 @@ minecraft { client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id + // fixes patchouli mixin error + property 'mixin.env.remapRefMap', 'true' + property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg" } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' + // fixes patchouli mixin error + property 'mixin.env.remapRefMap', 'true' + property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg" } // This run config launches GameTestServer and runs all registered gametests, then exits. @@ -116,39 +122,18 @@ minecraft { sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { - // Put repositories for dependencies here - // ForgeGradle automatically adds the Forge maven and Maven Central for you - - // If you have mod jar dependencies in ./libs, you can declare them as a repository like so. - // See https://docs.gradle.org/current/userguide/declaring_repositories.html#sub:flat_dir_resolver - // flatDir { - // dir 'libs' - // } + maven { + url "https://cursemaven.com" + content { + includeGroup "curse.maven" + } + } } dependencies { - // Specify the version of Minecraft to use. - // Any artifact can be supplied so long as it has a "userdev" classifier artifact and is a compatible patcher artifact. - // The "userdev" classifier will be requested and setup by ForgeGradle. - // If the group id is "net.minecraft" and the artifact id is one of ["client", "server", "joined"], - // then special handling is done to allow a setup of a vanilla dependency without the use of an external repository. minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" - - // Example mod dependency with JEI - using fg.deobf() ensures the dependency is remapped to your development mappings - // The JEI API is declared for compile time use, while the full JEI artifact is used at runtime - // compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}") - // compileOnly fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}") - // runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}-forge:${jei_version}") - - // Example mod dependency using a mod jar from ./libs with a flat dir repository - // This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar - // The group id is ignored when searching -- in this case, it is "blank" - // implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}") - - // For more info: - // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html - // http://www.gradle.org/docs/current/userguide/dependency_management.html - + implementation fg.deobf("curse.maven:guidebook-253874:4593765") + implementation fg.deobf("curse.maven:patchouli-306770:4633797") } // This block of code expands all declared replace properties in the specified resource targets. diff --git a/gradle.properties b/gradle.properties index a28804d..26787e8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ -org.gradle.jvmargs=-Xmx3G +# CreateCoredumpOnCrash only works on jdk9+ +org.gradle.jvmargs=-Xmx3G -XX:-CreateCoredumpOnCrash org.gradle.daemon=false minecraft_version=1.20.1 @@ -12,7 +13,7 @@ mapping_version=2023.09.03-1.20.1 mod_id=enhancedexplosives mod_name=Enhanced Explosives mod_license=All Rights Reserved -mod_version=0.14.0 +mod_version=0.15.0 mod_group_id=com.jenny -mod_authors=Jenny +mod_authors=xJenny69 mod_description=strong & throwable explosives diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 7a1d678..3ead04c 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -1,64 +1,36 @@ -# This is an example mods.toml file. It contains the data relating to the loading mods. -# There are several mandatory fields (#mandatory), and many more that are optional (#optional). -# The overall format is standard TOML format, v0.5.0. -# Note that there are a couple of TOML lists in this file. -# Find more information on toml format here: https://github.com/toml-lang/toml -# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml -modLoader = "javafml" #mandatory +modLoader = "javafml" logoFile = "logo.png" -# A version range to match for said mod loader - for regular FML @Mod it will be the forge version -loaderVersion = "${loader_version_range}" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. -# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties. -# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here. +loaderVersion = "${loader_version_range}" license = "${mod_license}" -# A URL to refer people to when problems occur with this mod -#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional -# A list of mods - how many allowed here is determined by the individual mod loader -[[mods]] #mandatory -# The modid of the mod -modId = "${mod_id}" #mandatory -# The version number of the mod -version = "${mod_version}" #mandatory -# A display name for the mod -displayName = "${mod_name}" #mandatory -# A URL to query for updates for this mod. See the JSON update specification https://docs.minecraftforge.net/en/latest/misc/updatechecker/ -#updateJSONURL="https://change.me.example.invalid/updates.json" #optional -# A URL for the "homepage" for this mod, displayed in the mod UI -#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional -# A file name (in the root of the mod JAR) containing a logo for display -#logoFile="enhancedexplosives.png" #optional -# A text field displayed in the mod UI -#credits="Thanks for this example mod goes to Java" #optional -# A text field displayed in the mod UI -authors = "${mod_authors}" #optional -# Display Test controls the display for your mod in the server connection screen -# MATCH_VERSION means that your mod will cause a red X if the versions on client and server differ. This is the default behaviour and should be what you choose if you have server and client elements to your mod. -# IGNORE_SERVER_VERSION means that your mod will not cause a red X if it's present on the server but not on the client. This is what you should use if you're a server only mod. -# IGNORE_ALL_VERSION means that your mod will not cause a red X if it's present on the client or the server. This is a special case and should only be used if your mod has no server component. -# NONE means that no display test is set on your mod. You need to do this yourself, see IExtensionPoint.DisplayTest for more information. You can define any scheme you wish with this value. -# IMPORTANT NOTE: this is NOT an instruction as to which environments (CLIENT or DEDICATED SERVER) your mod loads on. Your mod should load (and maybe do nothing!) whereever it finds itself. -#displayTest="MATCH_VERSION" # MATCH_VERSION is the default if nothing is specified (#optional) - -# The description text for the mod (multi line!) (#mandatory) +issueTrackerURL = "https://git.smthng.de/Jenny/Enhanced-Explosives/issues" #optional +[[mods]] +modId = "${mod_id}" +version = "${mod_version}" +displayName = "${mod_name}" +authors = "${mod_authors}" +displayTest = "MATCH_VERSION" description = '''${mod_description}''' -# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies."${mod_id}"]] #optional -# the modid of the dependency -modId = "forge" #mandatory -# Does this dependency have to exist - if not, ordering below must be specified -mandatory = true #mandatory -# The version range of the dependency -versionRange = "${forge_version_range}" #mandatory -# An ordering relationship for the dependency - BEFORE or AFTER required if the dependency is not mandatory -# BEFORE - This mod is loaded BEFORE the dependency -# AFTER - This mod is loaded AFTER the dependency +modId = "forge" +mandatory = true +versionRange = "${forge_version_range}" ordering = "NONE" -# Side this dependency is applied on - BOTH, CLIENT, or SERVER -side = "BOTH"# Here's another dependency +side = "BOTH" [[dependencies."${mod_id}"]] modId = "minecraft" mandatory = true -# This version range declares a minimum of the current minecraft version up to but not including the next major version versionRange = "${minecraft_version_range}" ordering = "NONE" side = "BOTH" +[[dependencies."${mod_id}"]] +modId = "gbook" +mandatory = false +versionRange = "[1.7.3,)" +ordering = "BEFORE" +side = "BOTH" +[[dependencies."${mod_id}"]] +modId = "patchouli" +mandatory = false +versionRange = "[1.0.6,)" +ordering = "BEFORE" +side = "BOTH" \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/books.json b/src/main/resources/assets/enhancedexplosives/books.json new file mode 100644 index 0000000..ad91204 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/books.json @@ -0,0 +1,3 @@ +[ + "enhancedexplosives:books/guide_enhanced_explosives.xml" +] \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/books/guide_enhanced_explosives.xml b/src/main/resources/assets/enhancedexplosives/books/guide_enhanced_explosives.xml new file mode 100644 index 0000000..474702a --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/books/guide_enhanced_explosives.xml @@ -0,0 +1,134 @@ + + + +
+ + Content + + TNTs + Compressed TNT + Cluster TNT + Homing TNT + Black Hole TNT + Claymore TNT + Selective + Ender TNT + Repulsive TNT + Arrows + TNT Arrow + Concussive Arrow + Carpet Bombing Arrow + Tunnel Arrow + Other + Dynamite +
+
+ +
+ + Compressed TNT + +

These TNTs are stronger than vanilla TNT. They are crafted from 4 TNTs of the previous stage and offer + double the explosion strength. +

+
+
+ +
+ + Cluster TNT + +

These TNTs spawn multiple smaller TNTs when primed. Each spawned TNT is as strong as vanilla TNT.

+
+
+ +
+ + Homing TNT + +

This TNT targets the closest mob and moves towards it.

+
+
+ +
+ + Black Hole TNT + +

This TNT attracts close entities towards itself before exploding.

+
+
+ +
+ + Claymore TNT + +

This TNT shoots many arrows in a circle around the TNT, instead of exploding.

+
+
+ +
+ + Selective TNT + +

This TNT will only destroy the type of block it is sitting upon when exploding. It will still honour the + blocks blast resistance, e.g. it won't destroy bedrock. +

+
+
+ +
+ + Ender TNT + +

This TNT will teleport randomly teleport when primed.

+
+
+ +
+ + Repulsive TNT + +

This TNT will push entities away when primed.

+
+
+ +
+ + TNT Arrow + +

This arrow explodes on impact with half the strength of TNT.

+
+
+ +
+ + TNT Arrow + +

This arrow explodes on impact without damaging blocks.

+
+
+ +
+ + Carpet Bombing Arrow + +

This arrow splits into many Concussive Arrows as soon as it starts falling.

+
+
+ +
+ + Tunnel Arrow + +

This arrow spawns multiple explosions in a line equivalent to its direction on hit.

+
+
+ +
+ + Dynamite + +

Dynamite can be thrown like a potion and explodes with the strength of vanilla TNT.

+
+
+
\ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/arrows.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/arrows.json new file mode 100644 index 0000000..ada12e6 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/arrows.json @@ -0,0 +1,5 @@ +{ + "name": "Arrows", + "description": "These are all new arrows", + "icon": "minecraft:arrow" +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/other.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/other.json new file mode 100644 index 0000000..1b5b2e8 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/other.json @@ -0,0 +1,5 @@ +{ + "name": "Others", + "description": "Some other new stuff", + "icon": "minecraft:bedrock" +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/tnts.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/tnts.json new file mode 100644 index 0000000..65bf3c5 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/categories/tnts.json @@ -0,0 +1,5 @@ +{ + "name": "TNTs", + "description": "These are all new TNTs", + "icon": "minecraft:tnt" +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_carpet.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_carpet.json new file mode 100644 index 0000000..945d8a9 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_carpet.json @@ -0,0 +1,12 @@ +{ + "name": "Carpet Bombing Arrow", + "icon": "enhancedexplosives:arrow_carpet", + "category": "enhancedexplosives:arrows", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This arrow splits into many explosive arrows as soon as it starts falling. Whether the arrows are concussive or TNT Arrows depends on the config.", + "recipe": "enhancedexplosives:arrow_carpet" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_concussive.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_concussive.json new file mode 100644 index 0000000..213f643 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_concussive.json @@ -0,0 +1,12 @@ +{ + "name": "Concussive Arrow", + "icon": "enhancedexplosives:arrow_concussive", + "category": "enhancedexplosives:arrows", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This arrow explodes like TNT on impact, but without damaging blocks.", + "recipe": "enhancedexplosives:arrow_concussive" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tnt.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tnt.json new file mode 100644 index 0000000..68af89e --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tnt.json @@ -0,0 +1,12 @@ +{ + "name": "TNT Arrow", + "icon": "enhancedexplosives:arrow_tnt", + "category": "enhancedexplosives:arrows", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This arrow explodes like TNT on impact.", + "recipe": "enhancedexplosives:arrow_tnt" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tunnel.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tunnel.json new file mode 100644 index 0000000..b70b8e7 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/arrow/arrow_tunnel.json @@ -0,0 +1,12 @@ +{ + "name": "Tunnel Arrow", + "icon": "enhancedexplosives:arrow_tunnel", + "category": "enhancedexplosives:arrows", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This arrow summons multiple explosions in front of it, along it's direction on impact, forming a tunnel in front.", + "recipe": "enhancedexplosives:arrow_tunnel" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/other/dynamite.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/other/dynamite.json new file mode 100644 index 0000000..03eb7ff --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/other/dynamite.json @@ -0,0 +1,12 @@ +{ + "name": "Dynamite", + "icon": "enhancedexplosives:dynamite", + "category": "enhancedexplosives:other", + "pages": [ + { + "type": "patchouli:crafting", + "text": "Can be thrown like a splash potion, but bounces on the ground and explodes like a tnt.", + "recipe": "enhancedexplosives:dynamite" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_128.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_128.json new file mode 100644 index 0000000..b9118d8 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_128.json @@ -0,0 +1,12 @@ +{ + "name": "Quintuple Compressed TNT", + "icon": "enhancedexplosives:tnt_128", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT behaves like vanilla TNT, but with 32x the explosion strength.", + "recipe": "enhancedexplosives:tnt_128" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_16.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_16.json new file mode 100644 index 0000000..0fcbd11 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_16.json @@ -0,0 +1,12 @@ +{ + "name": "Double Compressed TNT", + "icon": "enhancedexplosives:tnt_16", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT behaves like vanilla TNT, but with 4x the explosion strength.", + "recipe": "enhancedexplosives:tnt_16" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_32.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_32.json new file mode 100644 index 0000000..cd2a738 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_32.json @@ -0,0 +1,12 @@ +{ + "name": "Triple Compressed TNT", + "icon": "enhancedexplosives:tnt_32", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT behaves like vanilla TNT, but with 8x the explosion strength.", + "recipe": "enhancedexplosives:tnt_32" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_64.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_64.json new file mode 100644 index 0000000..86db97d --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_64.json @@ -0,0 +1,12 @@ +{ + "name": "Quadruple Compressed TNT", + "icon": "enhancedexplosives:tnt_64", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT behaves like vanilla TNT, but with 16x the explosion strength.", + "recipe": "enhancedexplosives:tnt_64" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_8.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_8.json new file mode 100644 index 0000000..00c2b15 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_8.json @@ -0,0 +1,12 @@ +{ + "name": "Compressed TNT", + "icon": "enhancedexplosives:tnt_8", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT behaves like vanilla TNT, but with 2x the explosion strength.", + "recipe": "enhancedexplosives:tnt_8" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_black_hole.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_black_hole.json new file mode 100644 index 0000000..ff14718 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_black_hole.json @@ -0,0 +1,12 @@ +{ + "name": "Black Hole TNT", + "icon": "enhancedexplosives:tnt_black_hole", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT pulls entities towards itself.", + "recipe": "enhancedexplosives:tnt_black_hole" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_claymore.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_claymore.json new file mode 100644 index 0000000..b28f08f --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_claymore.json @@ -0,0 +1,12 @@ +{ + "name": "Claymore TNT", + "icon": "enhancedexplosives:tnt_claymore", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT shoots many arrows in a circle around the TNT, instead of exploding.", + "recipe": "enhancedexplosives:tnt_claymore" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_2.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_2.json new file mode 100644 index 0000000..135e8cf --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_2.json @@ -0,0 +1,12 @@ +{ + "name": "2× TNT Cluster", + "icon": "enhancedexplosives:tnt_cluster_2", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT splits into 2 smaller TNTs when primed", + "recipe": "enhancedexplosives:tnt_cluster_2" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_4.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_4.json new file mode 100644 index 0000000..cffbd45 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_4.json @@ -0,0 +1,12 @@ +{ + "name": "4× TNT Cluster", + "icon": "enhancedexplosives:tnt_cluster_4", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT splits into 4 smaller TNTs when primed", + "recipe": "enhancedexplosives:tnt_cluster_4" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_8.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_8.json new file mode 100644 index 0000000..46f7cee --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_cluster_8.json @@ -0,0 +1,12 @@ +{ + "name": "8× TNT Cluster", + "icon": "enhancedexplosives:tnt_cluster_8", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT splits into 8 smaller TNTs when primed", + "recipe": "enhancedexplosives:tnt_cluster_8" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_ender.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_ender.json new file mode 100644 index 0000000..918fe2a --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_ender.json @@ -0,0 +1,12 @@ +{ + "name": "Ender TNT", + "icon": "enhancedexplosives:tnt_ender", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT teleports like an enderman when primed.", + "recipe": "enhancedexplosives:tnt_ender" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_homing.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_homing.json new file mode 100644 index 0000000..9749e07 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_homing.json @@ -0,0 +1,12 @@ +{ + "name": "Homing TNT", + "icon": "enhancedexplosives:tnt_homing", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT follows the closest mob.", + "recipe": "enhancedexplosives:tnt_homing" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_repulsive.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_repulsive.json new file mode 100644 index 0000000..8155d0d --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_repulsive.json @@ -0,0 +1,12 @@ +{ + "name": "Repulsive TNT", + "icon": "enhancedexplosives:tnt_repulsive", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT pushes close entities away.", + "recipe": "enhancedexplosives:tnt_repulsive" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_selective.json b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_selective.json new file mode 100644 index 0000000..aa61006 --- /dev/null +++ b/src/main/resources/assets/enhancedexplosives/patchouli_books/enhancedexplosives_guide/en_us/entries/tnt/tnt_selective.json @@ -0,0 +1,12 @@ +{ + "name": "Selective TNT", + "icon": "enhancedexplosives:tnt_selective", + "category": "enhancedexplosives:tnts", + "pages": [ + { + "type": "patchouli:crafting", + "text": "This TNT will only destroy the type of block it is sitting upon when exploding. It will still honour the blocks blast resistance, e.g. it won't destroy bedrock.", + "recipe": "enhancedexplosives:tnt_selective" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/enhancedexplosives/patchouli_books/enhancedexplosives_guide/book.json b/src/main/resources/data/enhancedexplosives/patchouli_books/enhancedexplosives_guide/book.json new file mode 100644 index 0000000..1952b80 --- /dev/null +++ b/src/main/resources/data/enhancedexplosives/patchouli_books/enhancedexplosives_guide/book.json @@ -0,0 +1,7 @@ +{ + "name": "Yurrr!", + "landing_text": "Skrrr Skrr", + "version": 1, + "creative_tab": "enhancedexplosives:enhancedexplosives", + "use_resource_pack": true +} \ No newline at end of file