diff --git a/build.gradle b/build.gradle index a41f396..69706c5 100644 --- a/build.gradle +++ b/build.gradle @@ -11,11 +11,15 @@ base { } repositories { - // Add repositories to retrieve artifacts from in here. - // You should only use this when depending on other mods because - // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. - // See https://docs.gradle.org/current/userguide/declaring_repositories.html - // for more information about repositories. + maven { url "https://cursemaven.com/" } + maven { url "https://api.modrinth.com/maven" } + maven { url "https://maven.terraformersmc.com/" } // Biolith + ModMenu (Cinderscapes) + maven { url "https://maven.minecraftforge.net/" } // Terrablender + maven { url "https://maven.shedaniel.me" } // ClothConfig (Cinderscapes) + maven { url "https://maven.kyrptonaught.dev" } // Deeper & Darker + maven { url "https://maven.wispforest.io" } // OwO-Lib (Deeper & Darker) + maven { url "https://maven.ladysnake.org/releases" } // Trinkets, Cardinal Components (Desolation) + maven { url "https://raw.githubusercontent.com/Fuzss/modresources/main/maven"} // Fuzs stuff } fabricApi { @@ -28,11 +32,19 @@ dependencies { // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" + //mappings loom.officialMojangMappings() modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - + + modApi "com.terraformersmc:biolith-fabric:3.0.0-alpha.1" + modApi "com.terraformersmc:modmenu:11.0.1" + modApi "com.terraformersmc.terraform-api:terraform-biome-remapper-api-v1:11.0.0-alpha.1" + modApi "com.terraformersmc.terraform-api:terraform-shapes-api-v1:11.0.0-alpha.1" + modApi "com.terraformersmc.terraform-api:terraform-wood-api-v1:11.0.0-alpha.1" + include "com.terraformersmc.terraform-api:terraform-wood-api-v1:11.0.0-alpha.1" + modApi "me.shedaniel.cloth:cloth-config-fabric:15.0.127" } processResources { diff --git a/changes.md b/changes.md deleted file mode 100644 index ef2f418..0000000 --- a/changes.md +++ /dev/null @@ -1,7 +0,0 @@ -# Changes - -10/03/2025 -- added Glowood Logs/planks/leaves/sapling and functional tree data-thing. -- That's kinda it? Basics for adding more items/blocks are being worked on. I think next order of business is finishing up the basic blocks and then working on either items or entity blocks like the furnace or crafting table. - -Also decide if armour trims should be a thing, and if so what palettes to use. Also move the paintings off of the old b1.7.3 format art blob into separate sprites(?), and add the mobs. After adding proper world gen for tree and ores do dark wheat and food stuffs I guess diff --git a/gradle.properties b/gradle.properties index ff7414d..bd442b3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.21.1+build.3 loader_version=0.16.10 # Mod Properties -mod_version=0.0.0 +mod_version=0.6.0 maven_group=xyz.ibatv.nethercraft archives_base_name=nethercraft-classic diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/dark_wheat_crop.json b/src/main/generated/assets/nethercraft-classic/blockstates/dark_wheat_crop.json new file mode 100644 index 0000000..b188445 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/dark_wheat_crop.json @@ -0,0 +1,22 @@ +{ + "variants": { + "age=0": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage0" + }, + "age=1": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage1" + }, + "age=2": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage2" + }, + "age=3": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage3" + }, + "age=4": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage4" + }, + "age=5": { + "model": "nethercraft-classic:block/dark_wheat_crop_stage5" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/foulite_ore.json b/src/main/generated/assets/nethercraft-classic/blockstates/foulite_ore.json new file mode 100644 index 0000000..278bcae --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/foulite_ore.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/foulite_ore" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/glowood_bookshelf.json b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_bookshelf.json new file mode 100644 index 0000000..9301f61 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_bookshelf.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/glowood_bookshelf" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/glowood_door.json b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_door.json new file mode 100644 index 0000000..8d1e50c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_door.json @@ -0,0 +1,124 @@ +{ + "variants": { + "facing=east,half=lower,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_left" + }, + "facing=east,half=lower,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_left_open", + "y": 90 + }, + "facing=east,half=lower,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_right" + }, + "facing=east,half=lower,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_right_open", + "y": 270 + }, + "facing=east,half=upper,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_left" + }, + "facing=east,half=upper,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_left_open", + "y": 90 + }, + "facing=east,half=upper,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_right" + }, + "facing=east,half=upper,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_right_open", + "y": 270 + }, + "facing=north,half=lower,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_left", + "y": 270 + }, + "facing=north,half=lower,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_left_open" + }, + "facing=north,half=lower,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_right", + "y": 270 + }, + "facing=north,half=lower,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_right_open", + "y": 180 + }, + "facing=north,half=upper,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_left", + "y": 270 + }, + "facing=north,half=upper,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_left_open" + }, + "facing=north,half=upper,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_right", + "y": 270 + }, + "facing=north,half=upper,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_right_open", + "y": 180 + }, + "facing=south,half=lower,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_left", + "y": 90 + }, + "facing=south,half=lower,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_left_open", + "y": 180 + }, + "facing=south,half=lower,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_right", + "y": 90 + }, + "facing=south,half=lower,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_right_open" + }, + "facing=south,half=upper,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_left", + "y": 90 + }, + "facing=south,half=upper,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_left_open", + "y": 180 + }, + "facing=south,half=upper,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_right", + "y": 90 + }, + "facing=south,half=upper,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_right_open" + }, + "facing=west,half=lower,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_left", + "y": 180 + }, + "facing=west,half=lower,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_left_open", + "y": 270 + }, + "facing=west,half=lower,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_bottom_right", + "y": 180 + }, + "facing=west,half=lower,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_bottom_right_open", + "y": 90 + }, + "facing=west,half=upper,hinge=left,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_left", + "y": 180 + }, + "facing=west,half=upper,hinge=left,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_left_open", + "y": 270 + }, + "facing=west,half=upper,hinge=right,open=false": { + "model": "nethercraft-classic:block/glowood_door_top_right", + "y": 180 + }, + "facing=west,half=upper,hinge=right,open=true": { + "model": "nethercraft-classic:block/glowood_door_top_right_open", + "y": 90 + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/glowood_fence.json b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_fence.json new file mode 100644 index 0000000..308cb18 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_fence.json @@ -0,0 +1,48 @@ +{ + "multipart": [ + { + "apply": { + "model": "nethercraft-classic:block/glowood_fence_post" + } + }, + { + "apply": { + "model": "nethercraft-classic:block/glowood_fence_side", + "uvlock": true + }, + "when": { + "north": "true" + } + }, + { + "apply": { + "model": "nethercraft-classic:block/glowood_fence_side", + "uvlock": true, + "y": 90 + }, + "when": { + "east": "true" + } + }, + { + "apply": { + "model": "nethercraft-classic:block/glowood_fence_side", + "uvlock": true, + "y": 180 + }, + "when": { + "south": "true" + } + }, + { + "apply": { + "model": "nethercraft-classic:block/glowood_fence_side", + "uvlock": true, + "y": 270 + }, + "when": { + "west": "true" + } + } + ] +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/glowood_pressureplate.json b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_pressureplate.json new file mode 100644 index 0000000..f2504ba --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_pressureplate.json @@ -0,0 +1,10 @@ +{ + "variants": { + "powered=false": { + "model": "nethercraft-classic:block/glowood_pressureplate" + }, + "powered=true": { + "model": "nethercraft-classic:block/glowood_pressureplate_down" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/glowood_stairs.json b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_stairs.json new file mode 100644 index 0000000..415865d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/glowood_stairs.json @@ -0,0 +1,209 @@ +{ + "variants": { + "facing=east,half=bottom,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 270 + }, + "facing=east,half=bottom,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner" + }, + "facing=east,half=bottom,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 270 + }, + "facing=east,half=bottom,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer" + }, + "facing=east,half=bottom,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs" + }, + "facing=east,half=top,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180 + }, + "facing=east,half=top,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 90 + }, + "facing=east,half=top,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180 + }, + "facing=east,half=top,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 90 + }, + "facing=east,half=top,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "x": 180 + }, + "facing=north,half=bottom,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 180 + }, + "facing=north,half=bottom,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 270 + }, + "facing=north,half=bottom,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 180 + }, + "facing=north,half=bottom,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 270 + }, + "facing=north,half=bottom,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "y": 270 + }, + "facing=north,half=top,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 270 + }, + "facing=north,half=top,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180 + }, + "facing=north,half=top,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 270 + }, + "facing=north,half=top,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180 + }, + "facing=north,half=top,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "x": 180, + "y": 270 + }, + "facing=south,half=bottom,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner" + }, + "facing=south,half=bottom,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 90 + }, + "facing=south,half=bottom,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer" + }, + "facing=south,half=bottom,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 90 + }, + "facing=south,half=bottom,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "y": 90 + }, + "facing=south,half=top,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 90 + }, + "facing=south,half=top,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 180 + }, + "facing=south,half=top,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 90 + }, + "facing=south,half=top,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 180 + }, + "facing=south,half=top,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "x": 180, + "y": 90 + }, + "facing=west,half=bottom,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 90 + }, + "facing=west,half=bottom,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "y": 180 + }, + "facing=west,half=bottom,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 90 + }, + "facing=west,half=bottom,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "y": 180 + }, + "facing=west,half=bottom,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "y": 180 + }, + "facing=west,half=top,shape=inner_left": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 180 + }, + "facing=west,half=top,shape=inner_right": { + "model": "nethercraft-classic:block/glowood_stairs_inner", + "uvlock": true, + "x": 180, + "y": 270 + }, + "facing=west,half=top,shape=outer_left": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 180 + }, + "facing=west,half=top,shape=outer_right": { + "model": "nethercraft-classic:block/glowood_stairs_outer", + "uvlock": true, + "x": 180, + "y": 270 + }, + "facing=west,half=top,shape=straight": { + "model": "nethercraft-classic:block/glowood_stairs", + "uvlock": true, + "x": 180, + "y": 180 + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/heat_sand.json b/src/main/generated/assets/nethercraft-classic/blockstates/heat_sand.json new file mode 100644 index 0000000..2ecff3d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/heat_sand.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/heat_sand" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/linium_block.json b/src/main/generated/assets/nethercraft-classic/blockstates/linium_block.json new file mode 100644 index 0000000..83c2a3d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/linium_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/linium_block" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/linium_ore.json b/src/main/generated/assets/nethercraft-classic/blockstates/linium_ore.json new file mode 100644 index 0000000..25618b0 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/linium_ore.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/linium_ore" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/neridium_block.json b/src/main/generated/assets/nethercraft-classic/blockstates/neridium_block.json new file mode 100644 index 0000000..f34137e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/neridium_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/neridium_block" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/neridium_ore.json b/src/main/generated/assets/nethercraft-classic/blockstates/neridium_ore.json new file mode 100644 index 0000000..df3c921 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/neridium_ore.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/neridium_ore" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/nether_dirt.json b/src/main/generated/assets/nethercraft-classic/blockstates/nether_dirt.json new file mode 100644 index 0000000..e346e01 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/nether_dirt.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/nether_dirt" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/nether_glass.json b/src/main/generated/assets/nethercraft-classic/blockstates/nether_glass.json new file mode 100644 index 0000000..9ab0e5c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/nether_glass.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/nether_glass" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_block.json b/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_block.json new file mode 100644 index 0000000..da00dab --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/pyridium_block" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_ore.json b/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_ore.json new file mode 100644 index 0000000..bc3b171 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/pyridium_ore.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/pyridium_ore" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/slow_glass.json b/src/main/generated/assets/nethercraft-classic/blockstates/slow_glass.json new file mode 100644 index 0000000..65df8d8 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/slow_glass.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/slow_glass" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/smooth_netherrack.json b/src/main/generated/assets/nethercraft-classic/blockstates/smooth_netherrack.json new file mode 100644 index 0000000..bc76bc5 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/smooth_netherrack.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/smooth_netherrack" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/blockstates/w_ore.json b/src/main/generated/assets/nethercraft-classic/blockstates/w_ore.json new file mode 100644 index 0000000..b48afbc --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/blockstates/w_ore.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/w_ore" + } + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage0.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage0.json new file mode 100644 index 0000000..e3f9805 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage0.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage0" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage1.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage1.json new file mode 100644 index 0000000..4b4c15a --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage1.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage1" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage2.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage2.json new file mode 100644 index 0000000..b240386 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage2.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage2" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage3.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage3.json new file mode 100644 index 0000000..120cb1e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage3.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage3" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage4.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage4.json new file mode 100644 index 0000000..aac4b68 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage4.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage4" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage5.json b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage5.json new file mode 100644 index 0000000..9806061 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/dark_wheat_crop_stage5.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "nethercraft-classic:block/dark_wheat_crop_stage5" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/foulite_ore.json b/src/main/generated/assets/nethercraft-classic/models/block/foulite_ore.json new file mode 100644 index 0000000..28ce69d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/foulite_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/foulite_ore" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf.json new file mode 100644 index 0000000..42b6888 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/cube_column", + "textures": { + "end": "nethercraft-classic:block/glowood_planks", + "side": "nethercraft-classic:block/glowood_bookshelf" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf_horizontal.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf_horizontal.json new file mode 100644 index 0000000..d8ec094 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_bookshelf_horizontal.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/cube_column_horizontal", + "textures": { + "end": "nethercraft-classic:block/glowood_bookshelf_top", + "side": "nethercraft-classic:block/glowood_bookshelf" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left.json new file mode 100644 index 0000000..342108b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_bottom_left", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left_open.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left_open.json new file mode 100644 index 0000000..13ce04a --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_left_open.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_bottom_left_open", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right.json new file mode 100644 index 0000000..3ea834b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_bottom_right", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right_open.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right_open.json new file mode 100644 index 0000000..d8ab3c0 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_bottom_right_open.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_bottom_right_open", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left.json new file mode 100644 index 0000000..0a16558 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_top_left", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left_open.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left_open.json new file mode 100644 index 0000000..6fd2d6b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_left_open.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_top_left_open", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right.json new file mode 100644 index 0000000..586b736 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_top_right", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right_open.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right_open.json new file mode 100644 index 0000000..2fa3248 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_door_top_right_open.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/door_top_right_open", + "textures": { + "bottom": "nethercraft-classic:block/glowood_door_bottom", + "top": "nethercraft-classic:block/glowood_door_top" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_inventory.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_inventory.json new file mode 100644 index 0000000..c73559d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_inventory.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/fence_inventory", + "textures": { + "texture": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_post.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_post.json new file mode 100644 index 0000000..efa4ae3 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_post.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/fence_post", + "textures": { + "texture": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_side.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_side.json new file mode 100644 index 0000000..296455e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_fence_side.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/fence_side", + "textures": { + "texture": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate.json new file mode 100644 index 0000000..0f37f48 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/pressure_plate_up", + "textures": { + "texture": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate_down.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate_down.json new file mode 100644 index 0000000..e4ef1af --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_pressureplate_down.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/pressure_plate_down", + "textures": { + "texture": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs.json new file mode 100644 index 0000000..386a5a3 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/stairs", + "textures": { + "bottom": "nethercraft-classic:block/glowood_planks", + "side": "nethercraft-classic:block/glowood_planks", + "top": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_inner.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_inner.json new file mode 100644 index 0000000..695b10d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_inner.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/inner_stairs", + "textures": { + "bottom": "nethercraft-classic:block/glowood_planks", + "side": "nethercraft-classic:block/glowood_planks", + "top": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_outer.json b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_outer.json new file mode 100644 index 0000000..e6fb76e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/glowood_stairs_outer.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/outer_stairs", + "textures": { + "bottom": "nethercraft-classic:block/glowood_planks", + "side": "nethercraft-classic:block/glowood_planks", + "top": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/heat_sand.json b/src/main/generated/assets/nethercraft-classic/models/block/heat_sand.json new file mode 100644 index 0000000..a7913d7 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/heat_sand.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/heat_sand" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/linium_block.json b/src/main/generated/assets/nethercraft-classic/models/block/linium_block.json new file mode 100644 index 0000000..d5241b9 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/linium_block.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/linium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/linium_ore.json b/src/main/generated/assets/nethercraft-classic/models/block/linium_ore.json new file mode 100644 index 0000000..7ee2b5b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/linium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/linium_ore" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/neridium_block.json b/src/main/generated/assets/nethercraft-classic/models/block/neridium_block.json new file mode 100644 index 0000000..9de3261 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/neridium_block.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/neridium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/neridium_ore.json b/src/main/generated/assets/nethercraft-classic/models/block/neridium_ore.json new file mode 100644 index 0000000..fac76a2 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/neridium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/neridium_ore" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/nether_dirt.json b/src/main/generated/assets/nethercraft-classic/models/block/nether_dirt.json new file mode 100644 index 0000000..d6690e9 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/nether_dirt.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/nether_dirt" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/nether_glass.json b/src/main/generated/assets/nethercraft-classic/models/block/nether_glass.json new file mode 100644 index 0000000..31f58f5 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/nether_glass.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/nether_glass" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/pyridium_block.json b/src/main/generated/assets/nethercraft-classic/models/block/pyridium_block.json new file mode 100644 index 0000000..d1d9acc --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/pyridium_block.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/pyridium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/pyridium_ore.json b/src/main/generated/assets/nethercraft-classic/models/block/pyridium_ore.json new file mode 100644 index 0000000..8d17517 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/pyridium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/pyridium_ore" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/slow_glass.json b/src/main/generated/assets/nethercraft-classic/models/block/slow_glass.json new file mode 100644 index 0000000..ee4ed6f --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/slow_glass.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/slow_glass" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/smooth_netherrack.json b/src/main/generated/assets/nethercraft-classic/models/block/smooth_netherrack.json new file mode 100644 index 0000000..5a83601 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/smooth_netherrack.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/smooth_netherrack" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/block/w_ore.json b/src/main/generated/assets/nethercraft-classic/models/block/w_ore.json new file mode 100644 index 0000000..d64aa70 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/block/w_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "nethercraft-classic:block/w_ore" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat.json b/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat.json new file mode 100644 index 0000000..5575c7f --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/dark_wheat" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat_seeds.json b/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat_seeds.json new file mode 100644 index 0000000..2754f1c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/dark_wheat_seeds.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/dark_wheat_seeds" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/devilbread.json b/src/main/generated/assets/nethercraft-classic/models/item/devilbread.json new file mode 100644 index 0000000..352e7fb --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/devilbread.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/devilbread" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/foulite_dust.json b/src/main/generated/assets/nethercraft-classic/models/item/foulite_dust.json new file mode 100644 index 0000000..582c364 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/foulite_dust.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/foulite_dust" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/foulite_ore.json b/src/main/generated/assets/nethercraft-classic/models/item/foulite_ore.json new file mode 100644 index 0000000..0562ca9 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/foulite_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/foulite_ore" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_axe.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_axe.json new file mode 100644 index 0000000..5068c9c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/glowood_axe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_bookshelf.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_bookshelf.json new file mode 100644 index 0000000..a068a43 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_bookshelf.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_bookshelf" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_bowl.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_bowl.json new file mode 100644 index 0000000..82561f2 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_bowl.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/glowood_bowl" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_door.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_door.json new file mode 100644 index 0000000..f2ce37b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_door.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/glowood_door" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_fence.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_fence.json new file mode 100644 index 0000000..88e1f35 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_fence.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_fence_inventory" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_hoe.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_hoe.json new file mode 100644 index 0000000..21b7d36 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/glowood_hoe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_pickaxe.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_pickaxe.json new file mode 100644 index 0000000..e3c16e1 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/glowood_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_pressureplate.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_pressureplate.json new file mode 100644 index 0000000..f560b9d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_pressureplate.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_pressureplate" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_shovel.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_shovel.json new file mode 100644 index 0000000..8e103e8 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/glowood_shovel" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_stairs.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_stairs.json new file mode 100644 index 0000000..1c7094c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_stairs.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_stairs" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowood_sword.json b/src/main/generated/assets/nethercraft-classic/models/item/glowood_sword.json new file mode 100644 index 0000000..5276644 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowood_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/glowood_sword" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/glowstew.json b/src/main/generated/assets/nethercraft-classic/models/item/glowstew.json new file mode 100644 index 0000000..ca70491 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/glowstew.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/glowstew" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/heat_sand.json b/src/main/generated/assets/nethercraft-classic/models/item/heat_sand.json new file mode 100644 index 0000000..1be3c05 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/heat_sand.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/heat_sand" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/imp_skin.json b/src/main/generated/assets/nethercraft-classic/models/item/imp_skin.json new file mode 100644 index 0000000..65d1094 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/imp_skin.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/imp_skin" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/lava_book.json b/src/main/generated/assets/nethercraft-classic/models/item/lava_book.json new file mode 100644 index 0000000..b6277ba --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/lava_book.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/lava_book" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/lava_paper.json b/src/main/generated/assets/nethercraft-classic/models/item/lava_paper.json new file mode 100644 index 0000000..ccbcb1a --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/lava_paper.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/lava_paper" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_axe.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_axe.json new file mode 100644 index 0000000..484bc6c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/linium_axe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_block.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_block.json new file mode 100644 index 0000000..fda2cd8 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_block.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/linium_block" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_hoe.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_hoe.json new file mode 100644 index 0000000..c156df8 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/linium_hoe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_ingot.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_ingot.json new file mode 100644 index 0000000..386d3e7 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/linium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_ore.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_ore.json new file mode 100644 index 0000000..1b125e5 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/linium_ore" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_pickaxe.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_pickaxe.json new file mode 100644 index 0000000..e50e3c2 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/linium_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_shovel.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_shovel.json new file mode 100644 index 0000000..94a0247 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/linium_shovel" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/linium_sword.json b/src/main/generated/assets/nethercraft-classic/models/item/linium_sword.json new file mode 100644 index 0000000..3a5e95b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/linium_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/linium_sword" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_axe.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_axe.json new file mode 100644 index 0000000..563e5d9 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_axe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_block.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_block.json new file mode 100644 index 0000000..82b4a0c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_block.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/neridium_block" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_hoe.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_hoe.json new file mode 100644 index 0000000..6603067 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_hoe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_ingot.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_ingot.json new file mode 100644 index 0000000..884d521 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/neridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_lighter.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_lighter.json new file mode 100644 index 0000000..68d0113 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_lighter.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_lighter" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_ore.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_ore.json new file mode 100644 index 0000000..5353a31 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/neridium_ore" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_pickaxe.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_pickaxe.json new file mode 100644 index 0000000..4d3b8e8 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_shovel.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_shovel.json new file mode 100644 index 0000000..06d919e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_shovel" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/neridium_sword.json b/src/main/generated/assets/nethercraft-classic/models/item/neridium_sword.json new file mode 100644 index 0000000..6487315 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/neridium_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/neridium_sword" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_axe.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_axe.json new file mode 100644 index 0000000..4544e23 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/nether_axe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_dirt.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_dirt.json new file mode 100644 index 0000000..5c0040e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_dirt.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/nether_dirt" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_glass.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_glass.json new file mode 100644 index 0000000..ce86aff --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_glass.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/nether_glass" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_hoe.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_hoe.json new file mode 100644 index 0000000..902c19a --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/nether_hoe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_pickaxe.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_pickaxe.json new file mode 100644 index 0000000..88e6a4c --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/nether_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_shovel.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_shovel.json new file mode 100644 index 0000000..ccb454d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/nether_shovel" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/nether_sword.json b/src/main/generated/assets/nethercraft-classic/models/item/nether_sword.json new file mode 100644 index 0000000..53c8c6f --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/nether_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/nether_sword" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_axe.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_axe.json new file mode 100644 index 0000000..c1910ab --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_axe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_block.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_block.json new file mode 100644 index 0000000..b27271e --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_block.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/pyridium_block" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_hoe.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_hoe.json new file mode 100644 index 0000000..db320f2 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_hoe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ingot.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ingot.json new file mode 100644 index 0000000..c7fb71d --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ore.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ore.json new file mode 100644 index 0000000..f1e668b --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/pyridium_ore" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_pickaxe.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_pickaxe.json new file mode 100644 index 0000000..cdf36f5 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_shovel.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_shovel.json new file mode 100644 index 0000000..ffb1cc9 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_shovel" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/pyridium_sword.json b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_sword.json new file mode 100644 index 0000000..7cce518 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/pyridium_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/handheld", + "textures": { + "layer0": "nethercraft-classic:item/pyridium_sword" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/slow_glass.json b/src/main/generated/assets/nethercraft-classic/models/item/slow_glass.json new file mode 100644 index 0000000..9f612ed --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/slow_glass.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/slow_glass" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/smooth_netherrack.json b/src/main/generated/assets/nethercraft-classic/models/item/smooth_netherrack.json new file mode 100644 index 0000000..e552847 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/smooth_netherrack.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/smooth_netherrack" +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/w_dust.json b/src/main/generated/assets/nethercraft-classic/models/item/w_dust.json new file mode 100644 index 0000000..7b4d456 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/w_dust.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/w_dust" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/w_ingot.json b/src/main/generated/assets/nethercraft-classic/models/item/w_ingot.json new file mode 100644 index 0000000..f7e0156 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/w_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/w_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/assets/nethercraft-classic/models/item/w_ore.json b/src/main/generated/assets/nethercraft-classic/models/item/w_ore.json new file mode 100644 index 0000000..ae7e763 --- /dev/null +++ b/src/main/generated/assets/nethercraft-classic/models/item/w_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/w_ore" +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/climbable.json b/src/main/generated/data/minecraft/tags/block/climbable.json new file mode 100644 index 0000000..622f8b7 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/climbable.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_ladder" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/crops.json b/src/main/generated/data/minecraft/tags/block/crops.json new file mode 100644 index 0000000..2315788 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/crops.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:dark_wheat_crop" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/dirt.json b/src/main/generated/data/minecraft/tags/block/dirt.json new file mode 100644 index 0000000..e47c7da --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/dirt.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:nether_dirt" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/enchantment_power_provider.json b/src/main/generated/data/minecraft/tags/block/enchantment_power_provider.json new file mode 100644 index 0000000..de8af38 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/enchantment_power_provider.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_bookshelf" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/maintains_farmland.json b/src/main/generated/data/minecraft/tags/block/maintains_farmland.json new file mode 100644 index 0000000..2315788 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/maintains_farmland.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:dark_wheat_crop" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/mineable/axe.json b/src/main/generated/data/minecraft/tags/block/mineable/axe.json index 9f04bf5..3678171 100644 --- a/src/main/generated/data/minecraft/tags/block/mineable/axe.json +++ b/src/main/generated/data/minecraft/tags/block/mineable/axe.json @@ -1,5 +1,12 @@ { "values": [ - "nethercraft-classic:glowood_planks" + "nethercraft-classic:glowood_planks", + "nethercraft-classic:glowood_log", + "nethercraft-classic:glowood_bookshelf", + "nethercraft-classic:glowood_stairs", + "nethercraft-classic:glowood_pressureplate", + "nethercraft-classic:glowood_fence", + "nethercraft-classic:glowood_door", + "nethercraft-classic:glowood_ladder" ] } \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/mineable/pickaxe.json b/src/main/generated/data/minecraft/tags/block/mineable/pickaxe.json new file mode 100644 index 0000000..d0c53a3 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/mineable/pickaxe.json @@ -0,0 +1,13 @@ +{ + "values": [ + "nethercraft-classic:smooth_netherrack", + "nethercraft-classic:foulite_ore", + "nethercraft-classic:neridium_ore", + "nethercraft-classic:pyridium_ore", + "nethercraft-classic:linium_ore", + "nethercraft-classic:w_ore", + "nethercraft-classic:neridium_block", + "nethercraft-classic:pyridium_block", + "nethercraft-classic:linium_block" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/mineable/shovel.json b/src/main/generated/data/minecraft/tags/block/mineable/shovel.json new file mode 100644 index 0000000..91dba7d --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/mineable/shovel.json @@ -0,0 +1,6 @@ +{ + "values": [ + "nethercraft-classic:nether_dirt", + "nethercraft-classic:heat_sand" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/needs_diamond_tool.json b/src/main/generated/data/minecraft/tags/block/needs_diamond_tool.json new file mode 100644 index 0000000..891f44e --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/needs_diamond_tool.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:pyridium_ore" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/needs_iron_tool.json b/src/main/generated/data/minecraft/tags/block/needs_iron_tool.json new file mode 100644 index 0000000..f72d209 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/needs_iron_tool.json @@ -0,0 +1,3 @@ +{ + "values": [] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/needs_stone_tool.json b/src/main/generated/data/minecraft/tags/block/needs_stone_tool.json new file mode 100644 index 0000000..f72d209 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/needs_stone_tool.json @@ -0,0 +1,3 @@ +{ + "values": [] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/planks.json b/src/main/generated/data/minecraft/tags/block/planks.json new file mode 100644 index 0000000..9f04bf5 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/planks.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_planks" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/sand.json b/src/main/generated/data/minecraft/tags/block/sand.json new file mode 100644 index 0000000..9e9cc2b --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/sand.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:heat_sand" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/wooden_doors.json b/src/main/generated/data/minecraft/tags/block/wooden_doors.json new file mode 100644 index 0000000..da13274 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/wooden_doors.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_door" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/wooden_fences.json b/src/main/generated/data/minecraft/tags/block/wooden_fences.json new file mode 100644 index 0000000..ab04627 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/wooden_fences.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_fence" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/wooden_pressure_plates.json b/src/main/generated/data/minecraft/tags/block/wooden_pressure_plates.json new file mode 100644 index 0000000..43507cd --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/wooden_pressure_plates.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_pressureplate" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/block/wooden_stairs.json b/src/main/generated/data/minecraft/tags/block/wooden_stairs.json new file mode 100644 index 0000000..55dd192 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/block/wooden_stairs.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nethercraft-classic:glowood_stairs" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/item/axes.json b/src/main/generated/data/minecraft/tags/item/axes.json new file mode 100644 index 0000000..46cf08d --- /dev/null +++ b/src/main/generated/data/minecraft/tags/item/axes.json @@ -0,0 +1,9 @@ +{ + "values": [ + "nethercraft-classic:glowood_axe", + "nethercraft-classic:nether_axe", + "nethercraft-classic:linium_axe", + "nethercraft-classic:neridium_axe", + "nethercraft-classic:pyridium_axe" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/item/hoes.json b/src/main/generated/data/minecraft/tags/item/hoes.json new file mode 100644 index 0000000..e493eb0 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/item/hoes.json @@ -0,0 +1,9 @@ +{ + "values": [ + "nethercraft-classic:glowood_hoe", + "nethercraft-classic:nether_hoe", + "nethercraft-classic:linium_hoe", + "nethercraft-classic:neridium_hoe", + "nethercraft-classic:pyridium_hoe" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/item/pickaxes.json b/src/main/generated/data/minecraft/tags/item/pickaxes.json new file mode 100644 index 0000000..57e021c --- /dev/null +++ b/src/main/generated/data/minecraft/tags/item/pickaxes.json @@ -0,0 +1,9 @@ +{ + "values": [ + "nethercraft-classic:glowood_pickaxe", + "nethercraft-classic:nether_pickaxe", + "nethercraft-classic:linium_pickaxe", + "nethercraft-classic:neridium_pickaxe", + "nethercraft-classic:pyridium_pickaxe" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/item/shovels.json b/src/main/generated/data/minecraft/tags/item/shovels.json new file mode 100644 index 0000000..b877425 --- /dev/null +++ b/src/main/generated/data/minecraft/tags/item/shovels.json @@ -0,0 +1,9 @@ +{ + "values": [ + "nethercraft-classic:glowood_shovel", + "nethercraft-classic:nether_shovel", + "nethercraft-classic:linium_shovel", + "nethercraft-classic:neridium_shovel", + "nethercraft-classic:pyridium_shovel" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/minecraft/tags/item/swords.json b/src/main/generated/data/minecraft/tags/item/swords.json new file mode 100644 index 0000000..e7cf75d --- /dev/null +++ b/src/main/generated/data/minecraft/tags/item/swords.json @@ -0,0 +1,9 @@ +{ + "values": [ + "nethercraft-classic:glowood_sword", + "nethercraft-classic:nether_sword", + "nethercraft-classic:linium_sword", + "nethercraft-classic:neridium_sword", + "nethercraft-classic:pyridium_sword" + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/food/devilbread.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/food/devilbread.json new file mode 100644 index 0000000..dae3c2a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/food/devilbread.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:devilbread" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:devilbread" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/food/glowstew.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/food/glowstew.json new file mode 100644 index 0000000..a6600b3 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/food/glowstew.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_bowl": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_bowl" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowstew" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_bowl" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowstew" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bookshelf.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bookshelf.json new file mode 100644 index 0000000..b0c0087 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bookshelf.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_lava_book": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:lava_book" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_bookshelf" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks", + "has_lava_book" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_bookshelf" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bowl.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bowl.json new file mode 100644 index 0000000..6e41633 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_bowl.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_bowl" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_bowl" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_crafting_table.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_crafting_table.json new file mode 100644 index 0000000..a5fc199 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_crafting_table.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_crafting_table" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_crafting_table" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_door.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_door.json new file mode 100644 index 0000000..7027ff1 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_door.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_door" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_door" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_fence.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_fence.json new file mode 100644 index 0000000..d63dc60 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_fence.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_fence" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_fence" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_ladder.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_ladder.json new file mode 100644 index 0000000..580bc67 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_ladder.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_netherstick": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:netherstick" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_ladder" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_netherstick" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_ladder" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_planks.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_planks.json new file mode 100644 index 0000000..3664332 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_planks.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_log": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_log" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_planks" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_log" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_planks" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_pressureplate.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_pressureplate.json new file mode 100644 index 0000000..a60fa9e --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_pressureplate.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_pressureplate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_pressureplate" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_stairs.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_stairs.json new file mode 100644 index 0000000..4141017 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/glowood_stairs.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:glowood_stairs" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:glowood_stairs" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_book.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_book.json new file mode 100644 index 0000000..eb63615 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_book.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_imp_skin": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:imp_skin" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_lava_paper": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:lava_paper" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:lava_book" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_lava_paper", + "has_imp_skin" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:lava_book" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_paper.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_paper.json new file mode 100644 index 0000000..6e5363e --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/lava_paper.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_lava_reeds": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:lava_reeds" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:lava_paper" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_lava_reeds" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:lava_paper" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_block.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_block.json new file mode 100644 index 0000000..2de39ca --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_linium_ingot": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:linium_ingot" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:linium_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_linium_ingot" + ] + ], + "rewards": { + "recipes": [ + "minecraft:linium_block" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_ingot.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_ingot.json new file mode 100644 index 0000000..12e9ec4 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/linium_ingot.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_linium_block": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:linium_block" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:linium_ingot" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_linium_block" + ] + ], + "rewards": { + "recipes": [ + "minecraft:linium_ingot" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_block.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_block.json new file mode 100644 index 0000000..7fdd7fd --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_neridium_ingot": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:neridium_ingot" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:neridium_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_neridium_ingot" + ] + ], + "rewards": { + "recipes": [ + "minecraft:neridium_block" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_ingot.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_ingot.json new file mode 100644 index 0000000..b935d05 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_ingot.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_neridium_block": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:neridium_block" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:neridium_ingot" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_neridium_block" + ] + ], + "rewards": { + "recipes": [ + "minecraft:neridium_ingot" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_lighter.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_lighter.json new file mode 100644 index 0000000..c22b137 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/neridium_lighter.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_flint": { + "conditions": { + "items": [ + { + "items": "minecraft:flint" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_neridium_ingot": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:neridium_ingot" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:neridium_lighter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_flint", + "has_neridium_ingot" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:neridium_lighter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/nether_dirt.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/nether_dirt.json new file mode 100644 index 0000000..1e88efb --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/nether_dirt.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_netherrack": { + "conditions": { + "items": [ + { + "items": "minecraft:netherrack" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:nether_dirt" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_netherrack" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:nether_dirt" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/netherstick.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/netherstick.json new file mode 100644 index 0000000..1139d97 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/netherstick.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glowood_planks": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:glowood_planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:netherstick" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glowood_planks" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:netherstick" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_block.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_block.json new file mode 100644 index 0000000..6740520 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_pyridium_ingot": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:pyridium_ingot" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:pyridium_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_pyridium_ingot" + ] + ], + "rewards": { + "recipes": [ + "minecraft:pyridium_block" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_ingot.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_ingot.json new file mode 100644 index 0000000..faac5ea --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/pyridium_ingot.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_pyridium_block": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:pyridium_block" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:pyridium_ingot" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_pyridium_block" + ] + ], + "rewards": { + "recipes": [ + "minecraft:pyridium_ingot" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/smooth_netherrack.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/smooth_netherrack.json new file mode 100644 index 0000000..367c969 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/smooth_netherrack.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_netherrack": { + "conditions": { + "items": [ + { + "items": "minecraft:netherrack" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:smooth_netherrack" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_netherrack" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:smooth_netherrack" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/w_ingot.json b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/w_ingot.json new file mode 100644 index 0000000..93e7155 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/advancement/recipes/misc/w_ingot.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_the_recipe": { + "conditions": { + "recipe": "nethercraft-classic:w_ingot" + }, + "trigger": "minecraft:recipe_unlocked" + }, + "has_w_dust": { + "conditions": { + "items": [ + { + "items": "nethercraft-classic:w_dust" + } + ] + }, + "trigger": "minecraft:inventory_changed" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_w_dust" + ] + ], + "rewards": { + "recipes": [ + "nethercraft-classic:w_ingot" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/dark_wheat_crop.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/dark_wheat_crop.json new file mode 100644 index 0000000..1078a55 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/dark_wheat_crop.json @@ -0,0 +1,68 @@ +{ + "type": "minecraft:block", + "functions": [ + { + "function": "minecraft:explosion_decay" + } + ], + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "block": "nethercraft-classic:dark_wheat_crop", + "condition": "minecraft:block_state_property", + "properties": { + "age": "5" + } + } + ], + "name": "nethercraft-classic:dark_wheat" + }, + { + "type": "minecraft:item", + "name": "nethercraft-classic:dark_wheat_seeds" + } + ] + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "block": "nethercraft-classic:dark_wheat_crop", + "condition": "minecraft:block_state_property", + "properties": { + "age": "5" + } + } + ], + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "enchantment": "minecraft:fortune", + "formula": "minecraft:binomial_with_bonus_count", + "function": "minecraft:apply_bonus", + "parameters": { + "extra": 3, + "probability": 0.5714286 + } + } + ], + "name": "nethercraft-classic:dark_wheat_seeds" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/foulite_ore.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/foulite_ore.json new file mode 100644 index 0000000..91c9629 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/foulite_ore.json @@ -0,0 +1,60 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "nethercraft-classic:foulite_ore" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops", + "function": "minecraft:apply_bonus" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "nethercraft-classic:foulite_dust" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_bookshelf.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_bookshelf.json new file mode 100644 index 0000000..e716247 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_bookshelf.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:glowood_bookshelf" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_door.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_door.json new file mode 100644 index 0000000..d5a6752 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_door.json @@ -0,0 +1,29 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "block": "nethercraft-classic:glowood_door", + "condition": "minecraft:block_state_property", + "properties": { + "half": "lower" + } + } + ], + "name": "nethercraft-classic:glowood_door" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_fence.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_fence.json new file mode 100644 index 0000000..039ed85 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_fence.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:glowood_fence" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_ladder.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_ladder.json new file mode 100644 index 0000000..5f2f90a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_ladder.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:glowood_ladder" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_pressureplate.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_pressureplate.json new file mode 100644 index 0000000..ff9002a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_pressureplate.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:glowood_pressureplate" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_stairs.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_stairs.json new file mode 100644 index 0000000..988fcb8 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/glowood_stairs.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:glowood_stairs" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/green_glowshroom.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/green_glowshroom.json new file mode 100644 index 0000000..65324e4 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/green_glowshroom.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:green_glowshroom" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/heat_sand.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/heat_sand.json new file mode 100644 index 0000000..70db456 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/heat_sand.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:heat_sand" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/lava_reeds.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/lava_reeds.json new file mode 100644 index 0000000..da916a7 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/lava_reeds.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:lava_reeds" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_block.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_block.json new file mode 100644 index 0000000..9e8e0c3 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_block.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:linium_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_ore.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_ore.json new file mode 100644 index 0000000..e1b1b59 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/linium_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:linium_ore" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_block.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_block.json new file mode 100644 index 0000000..24913a4 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_block.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:neridium_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_ore.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_ore.json new file mode 100644 index 0000000..f95f9b1 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/neridium_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:neridium_ore" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/nether_dirt.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/nether_dirt.json new file mode 100644 index 0000000..089865c --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/nether_dirt.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:nether_dirt" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/purple_glowshroom.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/purple_glowshroom.json new file mode 100644 index 0000000..b6203a6 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/purple_glowshroom.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:purple_glowshroom" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_block.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_block.json new file mode 100644 index 0000000..558736d --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_block.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:pyridium_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_ore.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_ore.json new file mode 100644 index 0000000..897bb52 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/pyridium_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "nethercraft-classic:pyridium_ore" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/loot_table/blocks/w_ore.json b/src/main/generated/data/nethercraft-classic/loot_table/blocks/w_ore.json new file mode 100644 index 0000000..26e925a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/loot_table/blocks/w_ore.json @@ -0,0 +1,60 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "nethercraft-classic:w_ore" + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 1.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops", + "function": "minecraft:apply_bonus" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "nethercraft-classic:w_dust" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/devilbread.json b/src/main/generated/data/nethercraft-classic/recipe/devilbread.json new file mode 100644 index 0000000..98ec7b0 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/devilbread.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "w": { + "item": "nethercraft-classic:dark_wheat" + } + }, + "pattern": [ + "www" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:devilbread" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_bookshelf.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_bookshelf.json new file mode 100644 index 0000000..0a3c514 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_bookshelf.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "G": { + "item": "nethercraft-classic:glowood_planks" + }, + "L": { + "item": "nethercraft-classic:lava_book" + } + }, + "pattern": [ + "GGG", + "LLL", + "GGG" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:glowood_bookshelf" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_bowl.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_bowl.json new file mode 100644 index 0000000..049c332 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_bowl.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "W W", + " W " + ], + "result": { + "count": 4, + "id": "nethercraft-classic:glowood_bowl" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_crafting_table.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_crafting_table.json new file mode 100644 index 0000000..951dcae --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_crafting_table.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "WW", + "WW" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:glowood_crafting_table" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_door.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_door.json new file mode 100644 index 0000000..3fe39bd --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_door.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "WW", + "WW", + "WW" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:glowood_door" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_fence.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_fence.json new file mode 100644 index 0000000..4b31d53 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_fence.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "S": { + "item": "nethercraft-classic:netherstick" + }, + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "WSW", + "WSW" + ], + "result": { + "count": 3, + "id": "nethercraft-classic:glowood_fence" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_ladder.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_ladder.json new file mode 100644 index 0000000..4e43be8 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_ladder.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "S": { + "item": "nethercraft-classic:netherstick" + } + }, + "pattern": [ + "S S", + "SSS", + "S S" + ], + "result": { + "count": 3, + "id": "nethercraft-classic:glowood_ladder" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_planks.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_planks.json new file mode 100644 index 0000000..6c57805 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_planks.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:glowood_log" + } + ], + "result": { + "count": 4, + "id": "nethercraft-classic:glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_pressureplate.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_pressureplate.json new file mode 100644 index 0000000..f9cce16 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_pressureplate.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "WW" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:glowood_pressureplate" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowood_stairs.json b/src/main/generated/data/nethercraft-classic/recipe/glowood_stairs.json new file mode 100644 index 0000000..fa42806 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowood_stairs.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "W ", + "WW ", + "WWW" + ], + "result": { + "count": 4, + "id": "nethercraft-classic:glowood_stairs" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/glowstew.json b/src/main/generated/data/nethercraft-classic/recipe/glowstew.json new file mode 100644 index 0000000..3390d62 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/glowstew.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:glowood_bowl" + }, + { + "item": "nethercraft-classic:green_glowshroom" + }, + { + "item": "nethercraft-classic:purple_glowshroom" + } + ], + "result": { + "count": 1, + "id": "nethercraft-classic:glowstew" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/lava_book.json b/src/main/generated/data/nethercraft-classic/recipe/lava_book.json new file mode 100644 index 0000000..f5499eb --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/lava_book.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:lava_paper" + }, + { + "item": "nethercraft-classic:lava_paper" + }, + { + "item": "nethercraft-classic:lava_paper" + }, + { + "item": "nethercraft-classic:imp_skin" + } + ], + "result": { + "count": 1, + "id": "nethercraft-classic:lava_book" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/lava_paper.json b/src/main/generated/data/nethercraft-classic/recipe/lava_paper.json new file mode 100644 index 0000000..ec586cf --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/lava_paper.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "l": { + "item": "nethercraft-classic:lava_reeds" + } + }, + "pattern": [ + "lll" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:lava_paper" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/linium_block.json b/src/main/generated/data/nethercraft-classic/recipe/linium_block.json new file mode 100644 index 0000000..c74129b --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/linium_block.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "#": { + "item": "nethercraft-classic:linium_ingot" + } + }, + "pattern": [ + "###", + "###", + "###" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:linium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/linium_ingot.json b/src/main/generated/data/nethercraft-classic/recipe/linium_ingot.json new file mode 100644 index 0000000..7e42626 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/linium_ingot.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:linium_block" + } + ], + "result": { + "count": 9, + "id": "nethercraft-classic:linium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/neridium_block.json b/src/main/generated/data/nethercraft-classic/recipe/neridium_block.json new file mode 100644 index 0000000..8d39a21 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/neridium_block.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "#": { + "item": "nethercraft-classic:neridium_ingot" + } + }, + "pattern": [ + "###", + "###", + "###" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:neridium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/neridium_ingot.json b/src/main/generated/data/nethercraft-classic/recipe/neridium_ingot.json new file mode 100644 index 0000000..03d8ace --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/neridium_ingot.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:neridium_block" + } + ], + "result": { + "count": 9, + "id": "nethercraft-classic:neridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/neridium_lighter.json b/src/main/generated/data/nethercraft-classic/recipe/neridium_lighter.json new file mode 100644 index 0000000..3a06185 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/neridium_lighter.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:neridium_ingot" + }, + { + "item": "minecraft:flint" + } + ], + "result": { + "count": 1, + "id": "nethercraft-classic:neridium_lighter" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/nether_dirt.json b/src/main/generated/data/nethercraft-classic/recipe/nether_dirt.json new file mode 100644 index 0000000..018fd63 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/nether_dirt.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "D": { + "item": "minecraft:dirt" + }, + "N": { + "item": "minecraft:netherrack" + } + }, + "pattern": [ + "DN", + "ND" + ], + "result": { + "count": 4, + "id": "nethercraft-classic:nether_dirt" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/netherstick.json b/src/main/generated/data/nethercraft-classic/recipe/netherstick.json new file mode 100644 index 0000000..e73e35b --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/netherstick.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "W": { + "item": "nethercraft-classic:glowood_planks" + } + }, + "pattern": [ + "W", + "W" + ], + "result": { + "count": 4, + "id": "nethercraft-classic:netherstick" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/pyridium_block.json b/src/main/generated/data/nethercraft-classic/recipe/pyridium_block.json new file mode 100644 index 0000000..5240711 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/pyridium_block.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "#": { + "item": "nethercraft-classic:pyridium_ingot" + } + }, + "pattern": [ + "###", + "###", + "###" + ], + "result": { + "count": 1, + "id": "nethercraft-classic:pyridium_block" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/pyridium_ingot.json b/src/main/generated/data/nethercraft-classic/recipe/pyridium_ingot.json new file mode 100644 index 0000000..c1a04c4 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/pyridium_ingot.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "nethercraft-classic:pyridium_block" + } + ], + "result": { + "count": 9, + "id": "nethercraft-classic:pyridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/smooth_netherrack.json b/src/main/generated/data/nethercraft-classic/recipe/smooth_netherrack.json new file mode 100644 index 0000000..088ece2 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/smooth_netherrack.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "N": { + "item": "minecraft:netherrack" + } + }, + "pattern": [ + "NN", + "NN" + ], + "result": { + "count": 4, + "id": "nethercraft-classic:smooth_netherrack" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/recipe/w_ingot.json b/src/main/generated/data/nethercraft-classic/recipe/w_ingot.json new file mode 100644 index 0000000..e7d9cac --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/recipe/w_ingot.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "item": "minecraft:lava_bucket" + }, + { + "item": "nethercraft-classic:w_dust" + } + ], + "result": { + "count": 1, + "id": "nethercraft-classic:w_ingot" + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree.json new file mode 100644 index 0000000..b4b3fe0 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:huge_fungus", + "config": { + "decor_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "hat_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "planted": false, + "replaceable_blocks": { + "type": "minecraft:matching_blocks", + "blocks": [] + }, + "stem_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "valid_base_block": { + "Name": "nethercraft-classic:nether_dirt" + } + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree_planted.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree_planted.json new file mode 100644 index 0000000..f5edb01 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/corrupted_tree_planted.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:huge_fungus", + "config": { + "decor_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "hat_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "planted": true, + "replaceable_blocks": { + "type": "minecraft:matching_blocks", + "blocks": [] + }, + "stem_state": { + "Name": "nethercraft-classic:nether_dirt" + }, + "valid_base_block": { + "Name": "nethercraft-classic:nether_dirt" + } + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/foulite_ore.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/foulite_ore.json new file mode 100644 index 0000000..eb436a2 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/foulite_ore.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 12, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:foulite_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:base_stone_nether" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/linium_ore.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/linium_ore.json new file mode 100644 index 0000000..298ffe7 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/linium_ore.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 12, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:linium_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:base_stone_nether" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/neridium_ore.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/neridium_ore.json new file mode 100644 index 0000000..031c047 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/neridium_ore.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 12, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:neridium_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:base_stone_nether" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/pyridium_ore.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/pyridium_ore.json new file mode 100644 index 0000000..0105887 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/pyridium_ore.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 12, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:pyridium_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:base_stone_nether" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/w_ore.json b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/w_ore.json new file mode 100644 index 0000000..bfd240a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/configured_feature/w_ore.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 12, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:w_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:base_stone_nether" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree.json new file mode 100644 index 0000000..06e6f03 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree.json @@ -0,0 +1,9 @@ +{ + "feature": "nethercraft-classic:corrupted_tree", + "placement": [ + { + "type": "minecraft:count_on_every_layer", + "count": 4 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree_planted.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree_planted.json new file mode 100644 index 0000000..e276f2a --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/corrupted_tree_planted.json @@ -0,0 +1,12 @@ +{ + "feature": "nethercraft-classic:corrupted_tree_planted", + "placement": [ + { + "type": "minecraft:block_predicate_filter", + "predicate": { + "type": "minecraft:matching_blocks", + "blocks": "minecraft:air" + } + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/foulite_ore_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/foulite_ore_placed.json new file mode 100644 index 0000000..ed1b842 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/foulite_ore_placed.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:foulite_ore", + "placement": [ + { + "type": "minecraft:count", + "count": 14 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 110 + }, + "min_inclusive": { + "absolute": 16 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/glowood_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/glowood_placed.json new file mode 100644 index 0000000..868e292 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/glowood_placed.json @@ -0,0 +1,9 @@ +{ + "feature": "nethercraft-classic:glowood", + "placement": [ + { + "type": "minecraft:count_on_every_layer", + "count": 4 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/linium_ore_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/linium_ore_placed.json new file mode 100644 index 0000000..04c0c1d --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/linium_ore_placed.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:linium_ore", + "placement": [ + { + "type": "minecraft:count", + "count": 14 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 110 + }, + "min_inclusive": { + "absolute": 16 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/neridium_ore_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/neridium_ore_placed.json new file mode 100644 index 0000000..4249cc2 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/neridium_ore_placed.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:neridium_ore", + "placement": [ + { + "type": "minecraft:count", + "count": 14 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 110 + }, + "min_inclusive": { + "absolute": 16 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/pyridium_ore_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/pyridium_ore_placed.json new file mode 100644 index 0000000..ec21f66 --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/pyridium_ore_placed.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:pyridium_ore", + "placement": [ + { + "type": "minecraft:count", + "count": 14 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 110 + }, + "min_inclusive": { + "absolute": 16 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/w_ore_placed.json b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/w_ore_placed.json new file mode 100644 index 0000000..f147b4c --- /dev/null +++ b/src/main/generated/data/nethercraft-classic/worldgen/placed_feature/w_ore_placed.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:w_ore", + "placement": [ + { + "type": "minecraft:count", + "count": 14 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 110 + }, + "min_inclusive": { + "absolute": 16 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/CustomFarmTill.java b/src/main/java/xyz/ibatv/nethercraft/CustomFarmTill.java new file mode 100644 index 0000000..811df2a --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/CustomFarmTill.java @@ -0,0 +1,39 @@ +package xyz.ibatv.nethercraft; + +import net.fabricmc.fabric.api.event.player.UseBlockCallback; +import net.minecraft.util.ActionResult; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.HoeItem; +import net.minecraft.item.ItemStack; +import net.minecraft.util.math.BlockPos; +import net.minecraft.block.BlockState; +import xyz.ibatv.nethercraft.block.ModBlocks; + +// This handles using a hoe to till ModBlocks.NERTHER_DIRT + +public class CustomFarmTill { + public CustomFarmTill() { + } + + public static void registerCustomTilling() { + UseBlockCallback.EVENT.register((UseBlockCallback)(player, world, hand, hitResult) -> { + ItemStack itemStack = player.getStackInHand(hand); + if (!(itemStack.getItem() instanceof HoeItem)) { + return ActionResult.PASS; + } else { + BlockPos pos = hitResult.getBlockPos(); + BlockState state = world.getBlockState(pos); + if (!state.isOf(ModBlocks.NETHER_DIRT)) { + return ActionResult.PASS; + } else { + if (!world.isClient) { + world.setBlockState(pos, ModBlocks.NETHER_DIRT_FARMLAND.getDefaultState()); + itemStack.damage(1, player, (EquipmentSlot)null); + } + + return ActionResult.SUCCESS; + } + } + }); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassic.java b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassic.java index 485db3a..b2ea060 100644 --- a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassic.java +++ b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassic.java @@ -2,38 +2,49 @@ package xyz.ibatv.nethercraft; import net.fabricmc.api.ModInitializer; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import xyz.ibatv.nethercraft.block.ModBlocks; +import xyz.ibatv.nethercraft.block.custom.MoreCraftingTableBlock; +import xyz.ibatv.nethercraft.init.*; import xyz.ibatv.nethercraft.item.ModItemGroups; import xyz.ibatv.nethercraft.item.ModItems; import xyz.ibatv.nethercraft.world.gen.ModWorldGeneration; +import net.minecraft.*; +import net.minecraft.registry.Registry; +import net.minecraft.registry.BuiltinRegistries; +import net.minecraft.registry.RegistryKey; + + public class NethercraftClassic implements ModInitializer { public static final String MOD_ID = "nethercraft-classic"; - - // This logger is used to write text to the console and the log file. - // It is considered best practice to use your mod id as the logger's name. - // That way, it's clear which mod wrote info, warnings, and errors. public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID); @Override public void onInitialize() { - // This code runs as soon as Minecraft is in a mod-load-ready state. - // However, some things (like resources) may still be uninitialized. - // Proceed with mild caution. - - //LOGGER.info("Hello Fabric world!"); - - ModItemGroups.registeritemGroups(); - ModItems.registerModItems(); ModBlocks.registerModBlocks(); - + ModItemGroups.registeritemGroups(); ModWorldGeneration.generateModWorldGen(); + MoreCraftingTableBlock.registerTables(); + CustomFarmTill.registerCustomTilling(); + + // REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + //MblvBlockInit.registerBlocks(); + //MblvItemInit.registerItems(); + + BlockInit.registerBlocks(); + ItemInit.registerItems(); + } + public static Identifier asId(String path) { + return Identifier.of(MOD_ID, path); + } } \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicClient.java b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicClient.java index 83ec5c2..a6746fb 100644 --- a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicClient.java +++ b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicClient.java @@ -5,9 +5,19 @@ import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.minecraft.client.render.RenderLayer; import xyz.ibatv.nethercraft.block.ModBlocks; + public class NethercraftClassicClient implements ClientModInitializer { @Override public void onInitializeClient() { BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.GLOWOOD_SAPLING, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.GLOWOOD_DOOR, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.GLOWOOD_LADDER, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.DARK_WHEAT_CROP, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.GREEN_GLOWSHROOM, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.PURPLE_GLOWSHROOM, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.LAVA_REEDS, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.SLOW_GLASS, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.NETHER_GLASS, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.DARK_WHEAT_CROP, RenderLayer.getCutout()); } } diff --git a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicDataGenerator.java b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicDataGenerator.java index 7c87184..21aa5ae 100644 --- a/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicDataGenerator.java +++ b/src/main/java/xyz/ibatv/nethercraft/NethercraftClassicDataGenerator.java @@ -19,6 +19,7 @@ public class NethercraftClassicDataGenerator implements DataGeneratorEntrypoint pack.addProvider(ModModelProvider::new); pack.addProvider(ModRecipeProvider::new); pack.addProvider(ModRegistryDataGenerator::new); + pack.addProvider(ModNetherWorldGenerator::new); } diff --git a/src/main/java/xyz/ibatv/nethercraft/block/ModBlocks.java b/src/main/java/xyz/ibatv/nethercraft/block/ModBlocks.java index 69e75b9..b2c92ef 100644 --- a/src/main/java/xyz/ibatv/nethercraft/block/ModBlocks.java +++ b/src/main/java/xyz/ibatv/nethercraft/block/ModBlocks.java @@ -1,12 +1,19 @@ package xyz.ibatv.nethercraft.block; import net.minecraft.block.*; +import net.minecraft.block.piston.PistonBehavior; +import net.minecraft.entity.effect.StatusEffects; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; import net.minecraft.registry.Registries; import net.minecraft.registry.Registry; +import net.minecraft.sound.BlockSoundGroup; +import net.minecraft.util.ColorCode; import net.minecraft.util.Identifier; +import net.minecraft.util.math.intprovider.UniformIntProvider; import xyz.ibatv.nethercraft.NethercraftClassic; +import xyz.ibatv.nethercraft.block.custom.DarkWheatCropBlock; +import xyz.ibatv.nethercraft.block.custom.ModFarmBlock; import xyz.ibatv.nethercraft.block.custom.ModSaplingBlock; import xyz.ibatv.nethercraft.world.tree.ModSaplingGenerators; @@ -23,8 +30,96 @@ public class ModBlocks { public static final Block GLOWOOD_SAPLING = registerBlock("glowood_sapling", new ModSaplingBlock(ModSaplingGenerators.GLOWOOD, AbstractBlock.Settings.copy(Blocks.OAK_SAPLING), Blocks.NETHERRACK)); - //public static final Block GLOWOOD_SAPLING = registerBlock("glowood_sapling", - // new SaplingBlock(ModSaplingGenerators.GLOWOOD, AbstractBlock.Settings.copy(Blocks.OAK_SAPLING))); + public static final Block GLOWOOD_BOOKSHELF = registerBlock("glowood_bookshelf", + new PillarBlock(AbstractBlock.Settings.copy(Blocks.BOOKSHELF))); + + public static final Block GLOWOOD_STAIRS = registerBlock("glowood_stairs", + new StairsBlock(ModBlocks.GLOWOOD_PLANKS.getDefaultState(), + AbstractBlock.Settings.create().strength(2f).requiresTool())); + + public static final Block GLOWOOD_PRESSUREPLATE = registerBlock("glowood_pressureplate", + new PressurePlateBlock(BlockSetType.OAK, + AbstractBlock.Settings.create().strength(2f).requiresTool())); + + public static final Block GLOWOOD_FENCE = registerBlock("glowood_fence", + new FenceBlock(AbstractBlock.Settings.create().strength(2f).requiresTool())); + + public static final Block GLOWOOD_DOOR = registerBlock("glowood_door", + new DoorBlock(BlockSetType.OAK, + AbstractBlock.Settings.create().strength(2f).requiresTool().nonOpaque())); + + public static final Block GLOWOOD_LADDER = registerBlock("glowood_ladder", + new LadderBlock(AbstractBlock.Settings.copy(Blocks.LADDER).sounds(BlockSoundGroup.LADDER))); + + + //nether_dirt + public static final Block NETHER_DIRT = registerBlock("nether_dirt", + new Block(AbstractBlock.Settings.create().strength(4f).sounds(BlockSoundGroup.GRAVEL))); + + public static final Block NETHER_DIRT_FARMLAND = registerBlock("nether_dirt_farmland", + new ModFarmBlock(AbstractBlock.Settings.copy(Blocks.FARMLAND))); + + public static final Block SMOOTH_NETHERRACK = registerBlock("smooth_netherrack", + new Block(AbstractBlock.Settings.copy(Blocks.NETHERRACK))); + + public static final Block FOULITE_ORE = registerBlock("foulite_ore", + new ExperienceDroppingBlock(UniformIntProvider.create(1, 5), + AbstractBlock.Settings.create().strength(3f).requiresTool())); + + public static final Block W_ORE = registerBlock("w_ore", + new ExperienceDroppingBlock(UniformIntProvider.create(1, 5), + AbstractBlock.Settings.create().strength(3f).requiresTool())); + + public static final Block LINIUM_ORE = registerBlock("linium_ore", + new ExperienceDroppingBlock(UniformIntProvider.create(1, 5), + AbstractBlock.Settings.create().strength(3f).requiresTool())); + + public static final Block NERIDIUM_ORE = registerBlock("neridium_ore", + new ExperienceDroppingBlock(UniformIntProvider.create(1, 5), + AbstractBlock.Settings.create().strength(3f).requiresTool())); + + public static final Block PYRIDIUM_ORE = registerBlock("pyridium_ore", + new ExperienceDroppingBlock(UniformIntProvider.create(1, 5), + AbstractBlock.Settings.create().strength(3f).requiresTool())); + + + public static final Block LINIUM_BLOCK = registerBlock("linium_block", + new Block(AbstractBlock.Settings.copy(Blocks.IRON_BLOCK))); + + public static final Block NERIDIUM_BLOCK = registerBlock("neridium_block", + new Block(AbstractBlock.Settings.copy(Blocks.IRON_BLOCK))); + + public static final Block PYRIDIUM_BLOCK = registerBlock("pyridium_block", + new Block(AbstractBlock.Settings.copy(Blocks.IRON_BLOCK))); + + + public static final Block NETHER_GLASS = registerBlock("nether_glass", + new Block(AbstractBlock.Settings.copy(Blocks.GLASS).nonOpaque())); + + public static final Block SLOW_GLASS = registerBlock("slow_glass", + new Block(AbstractBlock.Settings.copy(Blocks.GLASS).nonOpaque())); + + + public static final Block HEAT_SAND = registerBlock("heat_sand", + new ColoredFallingBlock(new ColorCode(12545589), AbstractBlock.Settings.copy(Blocks.SAND))); + + public static final Block GREEN_GLOWSHROOM = registerBlock("green_glowshroom", + new FlowerBlock(StatusEffects.GLOWING, 10, + AbstractBlock.Settings.copy(Blocks.POPPY).nonOpaque().noCollision().breakInstantly().pistonBehavior(PistonBehavior.DESTROY))); + + public static final Block PURPLE_GLOWSHROOM = registerBlock("purple_glowshroom", + new FlowerBlock(StatusEffects.GLOWING, 10, + AbstractBlock.Settings.copy(Blocks.POPPY).nonOpaque().noCollision().breakInstantly().pistonBehavior(PistonBehavior.DESTROY))); + + public static final Block LAVA_REEDS = registerBlock("lava_reeds", + new SugarCaneBlock(AbstractBlock.Settings.copy(Blocks.SUGAR_CANE).noCollision().nonOpaque() + .ticksRandomly().breakInstantly().pistonBehavior(PistonBehavior.DESTROY))); + + + + public static final Block DARK_WHEAT_CROP = registerBlockWithoutBlockItem("dark_wheat_crop", + new DarkWheatCropBlock(AbstractBlock.Settings.create().noCollision() + .ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP).pistonBehavior(PistonBehavior.DESTROY))); @@ -46,9 +141,5 @@ public class ModBlocks { public static void registerModBlocks(){ NethercraftClassic.LOGGER.info("Registering Mod blocks for " + NethercraftClassic.MOD_ID); - //ItemGroupEvents.modifyEntriesEvent(ItemGroups.BUILDING_BLOCKS).register(entries -> { - // entries.add(ModBlocks.PROSPERITY_GEMSTONE_BLOCK); - // entries.add(ModBlocks.PROSPERITY_INGOT_BLOCK); - //}); } } diff --git a/src/main/java/xyz/ibatv/nethercraft/block/MoreBarrelBlock.java b/src/main/java/xyz/ibatv/nethercraft/block/MoreBarrelBlock.java new file mode 100644 index 0000000..b46c7ac --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/MoreBarrelBlock.java @@ -0,0 +1,65 @@ +package xyz.ibatv.nethercraft.block; + +// REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + +import xyz.ibatv.nethercraft.block.entity.MoreBarrelBlockEntity; +import net.minecraft.block.BarrelBlock; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.MapColor; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.entity.mob.PiglinBrain; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.server.world.ServerWorld; +import net.minecraft.sound.BlockSoundGroup; +import net.minecraft.stat.Stats; +import net.minecraft.util.ActionResult; +import net.minecraft.util.hit.BlockHitResult; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.random.Random; +import net.minecraft.world.World; +import org.jetbrains.annotations.NotNull; + +public class MoreBarrelBlock extends BarrelBlock { + public final String barrelWoodType; + + public MoreBarrelBlock(MapColor colour, String barrelWoodType) { + super(Settings.copy(Blocks.BARREL).mapColor(colour)); + this.barrelWoodType = barrelWoodType; + } + + public MoreBarrelBlock(MapColor colour, BlockSoundGroup soundType, String barrelWoodType) { + super(Settings.copy(Blocks.BARREL).mapColor(colour).sounds(soundType)); + this.barrelWoodType = barrelWoodType; + } + + @Override + protected @NotNull ActionResult onUse(BlockState state, World level, BlockPos pos, PlayerEntity player, BlockHitResult hitResult) { + if (level.isClient) { + return ActionResult.SUCCESS; + } else { + BlockEntity blockEntity = level.getBlockEntity(pos); + if (blockEntity instanceof MoreBarrelBlockEntity) { + player.openHandledScreen((MoreBarrelBlockEntity)blockEntity); + player.incrementStat(Stats.OPEN_BARREL); + PiglinBrain.onGuardedBlockInteracted(player, true); + } + + return ActionResult.CONSUME; + } + } + + @Override + protected void scheduledTick(BlockState state, ServerWorld level, BlockPos pos, Random random) { + BlockEntity blockEntity = level.getBlockEntity(pos); + if (blockEntity instanceof MoreBarrelBlockEntity) { + ((MoreBarrelBlockEntity)blockEntity).recheckOpen(); + } + + } + + @Override + public BlockEntity createBlockEntity(BlockPos pos, BlockState state) { + return new MoreBarrelBlockEntity(pos, state); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/block/MoreFurnaceBlock.java b/src/main/java/xyz/ibatv/nethercraft/block/MoreFurnaceBlock.java new file mode 100644 index 0000000..536e11b --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/MoreFurnaceBlock.java @@ -0,0 +1,52 @@ +package xyz.ibatv.nethercraft.block; + +import xyz.ibatv.nethercraft.block.entity.MoreFurnaceBlockEntity; +import xyz.ibatv.nethercraft.init.BlockInit; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.FurnaceBlock; +import net.minecraft.block.MapColor; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.block.entity.BlockEntityTicker; +import net.minecraft.block.entity.BlockEntityType; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.screen.NamedScreenHandlerFactory; +import net.minecraft.sound.BlockSoundGroup; +import net.minecraft.stat.Stats; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; +import org.jetbrains.annotations.Nullable; + +public class MoreFurnaceBlock extends FurnaceBlock { + public String type; + + public MoreFurnaceBlock(MapColor colour, float strength, String type) { + super(Settings.copy(Blocks.FURNACE).strength(strength).mapColor(colour)); + this.type = type; + } + public MoreFurnaceBlock(MapColor colour, BlockSoundGroup sound, float strength, String type) { + super(Settings.copy(Blocks.FURNACE).mapColor(colour).strength(strength).sounds(sound)); + this.type = type; + } + + @Override + @Nullable + public BlockEntityTicker getTicker(World level, BlockState state, BlockEntityType type) { + return MoreFurnaceBlock.validateTicker(level, type, BlockInit.MORE_FURNACE_BLOCK_ENTITY); + } + + @Override + protected void openScreen(World level, BlockPos pos, PlayerEntity player) { + BlockEntity blockEntity = level.getBlockEntity(pos); + if (blockEntity instanceof MoreFurnaceBlockEntity) { + player.openHandledScreen((NamedScreenHandlerFactory) blockEntity); + player.incrementStat(Stats.INTERACT_WITH_FURNACE); + } + } + + @Nullable + @Override + public BlockEntity createBlockEntity(BlockPos pos, BlockState state) { + return new MoreFurnaceBlockEntity(pos, state); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/block/custom/DarkWheatCropBlock.java b/src/main/java/xyz/ibatv/nethercraft/block/custom/DarkWheatCropBlock.java new file mode 100644 index 0000000..dd09c0a --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/custom/DarkWheatCropBlock.java @@ -0,0 +1,38 @@ +package xyz.ibatv.nethercraft.block.custom; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.CropBlock; +import net.minecraft.item.ItemConvertible; +import net.minecraft.state.StateManager; +import net.minecraft.state.property.IntProperty; +import xyz.ibatv.nethercraft.item.ModItems; + +public class DarkWheatCropBlock extends CropBlock { + public static final int MAX_AGE = 5; + public static final IntProperty AGE = IntProperty.of("age" , 0,5); + + public DarkWheatCropBlock(Settings settings) { + super(settings); + } + + @Override + protected ItemConvertible getSeedsItem() { + return ModItems.DARK_WHEAT_SEEDS; + } + + @Override + public IntProperty getAgeProperty() { + return AGE; + } + + @Override + public int getMaxAge() { + return MAX_AGE; + } + + @Override + protected void appendProperties(StateManager.Builder builder) { + builder.add(AGE); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/block/custom/ModFarmBlock.java b/src/main/java/xyz/ibatv/nethercraft/block/custom/ModFarmBlock.java new file mode 100644 index 0000000..01dfe1f --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/custom/ModFarmBlock.java @@ -0,0 +1,138 @@ +package xyz.ibatv.nethercraft.block.custom; + +import com.mojang.serialization.MapCodec; +import net.minecraft.block.*; +import net.minecraft.entity.Entity; +import net.minecraft.entity.LivingEntity; +import net.minecraft.entity.ai.pathing.NavigationType; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.item.ItemPlacementContext; +import net.minecraft.registry.tag.BlockTags; +import net.minecraft.registry.tag.FluidTags; +import net.minecraft.server.world.ServerWorld; +import net.minecraft.state.StateManager; +import net.minecraft.state.property.IntProperty; +import net.minecraft.state.property.Properties; +import net.minecraft.state.property.Property; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; +import net.minecraft.util.math.random.Random; +import net.minecraft.util.shape.VoxelShape; +import net.minecraft.world.*; +import net.minecraft.world.event.GameEvent; +import org.jetbrains.annotations.Nullable; +import xyz.ibatv.nethercraft.block.ModBlocks; + +// Todo: For some reason no matter what I do +// extending from FarmlandBlock does not make crops +// plant-able on this and it will always get trampled into minecraft:dirt. +// I have no idea why. +// If you, person looking at this code, know how +// Please be my guest and submit a pull request +// Otherwise, you can Till `ModBlocks.NETHER_DIRT` +// To get `ModBlocks.NETHER_DIRT_FARMLAND`, but that's really it. + +public class ModFarmBlock extends Block { //FarmlandBlock + + public static final MapCodec CODEC = createCodec(FarmlandBlock::new); + public static final IntProperty MOISTURE; + protected static final VoxelShape SHAPE; + public static final int MAX_MOISTURE = 7; + + public MapCodec getCodec() { + return CODEC; + } + + public ModFarmBlock(AbstractBlock.Settings settings) { + super(settings); + this.setDefaultState((BlockState)((BlockState)this.stateManager.getDefaultState()).with(MOISTURE, 0)); + } + + protected BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) { + if (direction == Direction.UP && !state.canPlaceAt(world, pos)) { + world.scheduleBlockTick(pos, this, 1); + } + + return super.getStateForNeighborUpdate(state, direction, neighborState, world, pos, neighborPos); + } + + protected boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) { + BlockState blockState = world.getBlockState(pos.up()); + return !blockState.isSolid() || blockState.getBlock() instanceof FenceGateBlock || blockState.getBlock() instanceof PistonExtensionBlock; + } + + public BlockState getPlacementState(ItemPlacementContext ctx) { + return !this.getDefaultState().canPlaceAt(ctx.getWorld(), ctx.getBlockPos()) ? ModBlocks.NETHER_DIRT.getDefaultState() : super.getPlacementState(ctx); + } + + protected boolean hasSidedTransparency(BlockState state) { + return true; + } + + protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) { + return SHAPE; + } + + protected void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) { + if (!state.canPlaceAt(world, pos)) { + setToDirt((Entity)null, state, world, pos); + } + + } + + protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) { + int i = (Integer)state.get(MOISTURE); + if (!isLavaNearby(world, pos)) { + if (i > 0) { + world.setBlockState(pos, (BlockState)state.with(MOISTURE, i - 1), 2); + } else if (!hasCrop(world, pos)) { + setToDirt((Entity)null, state, world, pos); + } + } else if (i < 7) { + world.setBlockState(pos, (BlockState)state.with(MOISTURE, 7), 2); + } + + } + + public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) { + if (!world.isClient && world.random.nextFloat() < fallDistance - 0.5F && entity instanceof LivingEntity && (entity instanceof PlayerEntity || world.getGameRules().getBoolean(GameRules.DO_MOB_GRIEFING)) && entity.getWidth() * entity.getWidth() * entity.getHeight() > 0.512F) { + setToDirt(entity, ModBlocks.NETHER_DIRT.getDefaultState(), world, pos); + } + + super.onLandedUpon(world, ModBlocks.NETHER_DIRT.getDefaultState(), pos, entity, fallDistance); + } + + public static void setToDirt(@Nullable Entity entity, BlockState state, World world, BlockPos pos) { + BlockState blockState = pushEntitiesUpBeforeBlockChange(state, ModBlocks.NETHER_DIRT.getDefaultState(), world, pos); + world.setBlockState(pos, blockState); + world.emitGameEvent(GameEvent.BLOCK_CHANGE, pos, GameEvent.Emitter.of(entity, blockState)); + } + + private static boolean hasCrop(BlockView world, BlockPos pos) { + return world.getBlockState(pos.up()).isIn(BlockTags.MAINTAINS_FARMLAND); + } + + private static boolean isLavaNearby(WorldView world, BlockPos pos) { + for(BlockPos blockPos : BlockPos.iterate(pos.add(-4, 0, -4), pos.add(4, 1, 4))) { + if (world.getFluidState(blockPos).isIn(FluidTags.LAVA)) { + return true; + } + } + + return false; + } + + protected void appendProperties(StateManager.Builder builder) { + builder.add(new Property[]{MOISTURE}); + } + + protected boolean canPathfindThrough(BlockState state, NavigationType type) { + return false; + } + + static { + MOISTURE = Properties.MOISTURE; + SHAPE = Block.createCuboidShape((double)0.0F, (double)0.0F, (double)0.0F, (double)16.0F, (double)15.0F, (double)16.0F); + } + +} diff --git a/src/main/java/xyz/ibatv/nethercraft/block/custom/MoreCraftingTableBlock.java b/src/main/java/xyz/ibatv/nethercraft/block/custom/MoreCraftingTableBlock.java new file mode 100644 index 0000000..e443d01 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/custom/MoreCraftingTableBlock.java @@ -0,0 +1,38 @@ +package xyz.ibatv.nethercraft.block.custom; + + +import com.google.common.collect.Maps; +import java.util.Map; + +import net.minecraft.block.*; +import net.minecraft.item.BlockItem; +import net.minecraft.item.Item; +import net.minecraft.registry.Registry; +import net.minecraft.sound.BlockSoundGroup; +import net.minecraft.block.enums.NoteBlockInstrument; +import net.minecraft.util.Identifier; +import net.minecraft.registry.Registries; + +public class MoreCraftingTableBlock { + public static final CraftingTableBlock GLOWOOD_CRAFTING_TABLE; + public static Map VANILLA_CRAFTING_TABLES; + + public MoreCraftingTableBlock() { + } + + public static void registerTables() { + registerCraftingTableBlock("glowood_crafting_table", GLOWOOD_CRAFTING_TABLE); + } + + private static void registerCraftingTableBlock(String name, Block block) { + Identifier identifier = Identifier.of("nethercraft-classic", name); + Registry.register(Registries.BLOCK, identifier, block); + VANILLA_CRAFTING_TABLES.put(identifier, block); + Registry.register(Registries.ITEM, identifier, new BlockItem(block, new Item.Settings())); + } + + static { + GLOWOOD_CRAFTING_TABLE = new CraftingTableBlock(AbstractBlock.Settings.copy(Blocks.CRAFTING_TABLE).mapColor(MapColor.DARK_AQUA).instrument(NoteBlockInstrument.BASS).strength(2.5F).sounds(BlockSoundGroup.WOOD)); + VANILLA_CRAFTING_TABLES = Maps.newHashMap(); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntity.java b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntity.java new file mode 100644 index 0000000..21818a6 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntity.java @@ -0,0 +1,149 @@ +package xyz.ibatv.nethercraft.block.entity; + +// REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + +import xyz.ibatv.nethercraft.block.MoreBarrelBlock; +import xyz.ibatv.nethercraft.init.MblvBlockInit; +import net.minecraft.block.BarrelBlock; +import net.minecraft.block.BlockState; +import net.minecraft.block.entity.LootableContainerBlockEntity; +import net.minecraft.block.entity.ViewerCountManager; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.entity.player.PlayerInventory; +import net.minecraft.inventory.Inventories; +import net.minecraft.inventory.Inventory; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NbtCompound; +import net.minecraft.registry.RegistryWrapper; +import net.minecraft.screen.GenericContainerScreenHandler; +import net.minecraft.screen.ScreenHandler; +import net.minecraft.sound.SoundCategory; +import net.minecraft.sound.SoundEvent; +import net.minecraft.sound.SoundEvents; +import net.minecraft.text.Text; +import net.minecraft.util.collection.DefaultedList; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; +import net.minecraft.util.math.Vec3i; +import net.minecraft.world.World; +import org.jetbrains.annotations.NotNull; + +public class MoreBarrelBlockEntity extends LootableContainerBlockEntity implements MoreBarrelBlockEntityInterface { + private DefaultedList items; + private final ViewerCountManager openersCounter; + + public MoreBarrelBlockEntity(BlockPos blockPos, BlockState blockState) { + super(MblvBlockInit.MORE_BARREL_BLOCK_ENTITY, blockPos, blockState); + this.items = DefaultedList.ofSize(27, ItemStack.EMPTY); + this.openersCounter = new ViewerCountManager() { + protected void onContainerOpen(World level, BlockPos pos, BlockState state) { + MoreBarrelBlockEntity.this.playSound(state, SoundEvents.BLOCK_BARREL_OPEN); + MoreBarrelBlockEntity.this.updateBlockState(state, true); + } + + protected void onContainerClose(World level, BlockPos pos, BlockState state) { + MoreBarrelBlockEntity.this.playSound(state, SoundEvents.BLOCK_BARREL_CLOSE); + MoreBarrelBlockEntity.this.updateBlockState(state, false); + } + + protected void onViewerCountUpdate(World level, BlockPos pos, BlockState state, int count, int openCount) { + } + + protected boolean isPlayerViewing(PlayerEntity player) { + if (player.currentScreenHandler instanceof GenericContainerScreenHandler) { + Inventory container = ((GenericContainerScreenHandler)player.currentScreenHandler).getInventory(); + return container == MoreBarrelBlockEntity.this; + } else { + return false; + } + } + }; + } + + @Override + protected void writeNbt(NbtCompound tag, RegistryWrapper.WrapperLookup registries) { + super.writeNbt(tag, registries); + if (!this.writeLootTable(tag)) { + Inventories.writeNbt(tag, this.items, registries); + } + + } + + @Override + protected void readNbt(NbtCompound tag, RegistryWrapper.WrapperLookup registries) { + super.readNbt(tag, registries); + this.items = DefaultedList.ofSize(this.size(), ItemStack.EMPTY); + if (!this.readLootTable(tag)) { + Inventories.readNbt(tag, this.items, registries); + } + + } + + @Override + public int size() { + return 27; + } + + @Override + protected @NotNull DefaultedList getHeldStacks() { + return this.items; + } + + @Override + protected void setHeldStacks(DefaultedList items) { + this.items = items; + } + + @Override + protected @NotNull Text getContainerName() { + return Text.translatable("container.nethercraft-classic." + getBlock().barrelWoodType + "_barrel"); + } + + @Override + protected @NotNull ScreenHandler createScreenHandler(int containerId, PlayerInventory inventory) { + return GenericContainerScreenHandler.createGeneric9x3(containerId, inventory, this); + } + + @Override + public void onOpen(PlayerEntity player) { + if (!this.removed && !player.isSpectator()) { + this.openersCounter.openContainer(player, this.getWorld(), this.getPos(), this.getCachedState()); + } + + } + + @Override + public void onClose(PlayerEntity player) { + if (!this.removed && !player.isSpectator()) { + this.openersCounter.closeContainer(player, this.getWorld(), this.getPos(), this.getCachedState()); + } + + } + + @Override + public void recheckOpen() { + if (!this.removed) { + this.openersCounter.updateViewerCount(this.getWorld(), this.getPos(), this.getCachedState()); + } + + } + + @Override + public void updateBlockState(BlockState state, boolean open) { + this.world.setBlockState(this.getPos(), (BlockState)state.with(BarrelBlock.OPEN, open), 3); + } + + @Override + public void playSound(BlockState state, SoundEvent sound) { + Vec3i vec3i = ((Direction)state.get(BarrelBlock.FACING)).getVector(); + double d = (double)this.pos.getX() + 0.5 + (double)vec3i.getX() / 2.0; + double e = (double)this.pos.getY() + 0.5 + (double)vec3i.getY() / 2.0; + double f = (double)this.pos.getZ() + 0.5 + (double)vec3i.getZ() / 2.0; + assert this.world != null; + this.world.playSound((PlayerEntity)null, d, e, f, sound, SoundCategory.BLOCKS, 0.5F, this.world.random.nextFloat() * 0.1F + 0.9F); + } + + public MoreBarrelBlock getBlock() { + return (MoreBarrelBlock) getCachedState().getBlock(); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntityInterface.java b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntityInterface.java new file mode 100644 index 0000000..d70d68b --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreBarrelBlockEntityInterface.java @@ -0,0 +1,14 @@ +package xyz.ibatv.nethercraft.block.entity; + +// REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + +import net.minecraft.block.BlockState; +import net.minecraft.sound.SoundEvent; + +public interface MoreBarrelBlockEntityInterface { + void recheckOpen(); + + void updateBlockState(BlockState state, boolean open); + + void playSound(BlockState state, SoundEvent sound); +} diff --git a/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreFurnaceBlockEntity.java b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreFurnaceBlockEntity.java new file mode 100644 index 0000000..995a38c --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/block/entity/MoreFurnaceBlockEntity.java @@ -0,0 +1,32 @@ +package xyz.ibatv.nethercraft.block.entity; + +import xyz.ibatv.nethercraft.block.MoreFurnaceBlock; +import xyz.ibatv.nethercraft.init.BlockInit; +import net.minecraft.block.BlockState; +import net.minecraft.block.entity.AbstractFurnaceBlockEntity; +import net.minecraft.entity.player.PlayerInventory; +import net.minecraft.recipe.RecipeType; +import net.minecraft.screen.FurnaceScreenHandler; +import net.minecraft.screen.ScreenHandler; +import net.minecraft.text.Text; +import net.minecraft.util.math.BlockPos; + +public class MoreFurnaceBlockEntity extends AbstractFurnaceBlockEntity { + public MoreFurnaceBlockEntity(BlockPos pos, BlockState state) { + super(BlockInit.MORE_FURNACE_BLOCK_ENTITY, pos, state, RecipeType.SMELTING); + } + + @Override + protected Text getContainerName() { + return Text.translatable("container." + getBlock().type + "_furnace"); + } + + @Override + protected ScreenHandler createScreenHandler(int i, PlayerInventory inventory) { + return new FurnaceScreenHandler(i, inventory, this, this.propertyDelegate); + } + + protected MoreFurnaceBlock getBlock() { + return (MoreFurnaceBlock) getCachedState().getBlock(); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModBlockTagProvider.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModBlockTagProvider.java index 33d976a..34f0c00 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModBlockTagProvider.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModBlockTagProvider.java @@ -4,7 +4,6 @@ import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider; import net.minecraft.registry.RegistryWrapper; import net.minecraft.registry.tag.BlockTags; -import net.minecraft.registry.tag.ItemTags; import xyz.ibatv.nethercraft.block.ModBlocks; import java.util.concurrent.CompletableFuture; @@ -17,14 +16,36 @@ public class ModBlockTagProvider extends FabricTagProvider.BlockTagProvider { @Override protected void configure(RegistryWrapper.WrapperLookup wrapperLookup) { getOrCreateTagBuilder(BlockTags.AXE_MINEABLE) - .add(ModBlocks.GLOWOOD_PLANKS); + .add(ModBlocks.GLOWOOD_PLANKS) + .add(ModBlocks.GLOWOOD_LOG) + .add(ModBlocks.GLOWOOD_BOOKSHELF) + .add(ModBlocks.GLOWOOD_STAIRS) + .add(ModBlocks.GLOWOOD_PRESSUREPLATE) + .add(ModBlocks.GLOWOOD_FENCE) + .add(ModBlocks.GLOWOOD_DOOR) + .add(ModBlocks.GLOWOOD_LADDER); - //getOrCreateTagBuilder(BlockTags.NEEDS_STONE_TOOL) - // .add(ModBlocks.INFUSION_ALTAR) + getOrCreateTagBuilder(BlockTags.PICKAXE_MINEABLE) + .add(ModBlocks.SMOOTH_NETHERRACK) + .add(ModBlocks.FOULITE_ORE) + .add(ModBlocks.NERIDIUM_ORE) + .add(ModBlocks.PYRIDIUM_ORE) + .add(ModBlocks.LINIUM_ORE) + .add(ModBlocks.W_ORE) + .add(ModBlocks.NERIDIUM_BLOCK) + .add(ModBlocks.PYRIDIUM_BLOCK) + .add(ModBlocks.LINIUM_BLOCK); + getOrCreateTagBuilder(BlockTags.SHOVEL_MINEABLE) + .add(ModBlocks.NETHER_DIRT) + .add(ModBlocks.HEAT_SAND); - //getOrCreateTagBuilder(BlockTags.NEEDS_IRON_TOOL) - // .add(ModBlocks.PROSPERITY_GEMSTONE_BLOCK) + getOrCreateTagBuilder(BlockTags.NEEDS_STONE_TOOL); + + getOrCreateTagBuilder(BlockTags.NEEDS_IRON_TOOL); + + getOrCreateTagBuilder(BlockTags.NEEDS_DIAMOND_TOOL) + .add(ModBlocks.PYRIDIUM_ORE); getOrCreateTagBuilder(BlockTags.LOGS) @@ -32,5 +53,39 @@ public class ModBlockTagProvider extends FabricTagProvider.BlockTagProvider { getOrCreateTagBuilder(BlockTags.LEAVES) .add(ModBlocks.GLOWOOD_LEAVES); + + getOrCreateTagBuilder(BlockTags.PLANKS) + .add(ModBlocks.GLOWOOD_PLANKS); + + getOrCreateTagBuilder(BlockTags.ENCHANTMENT_POWER_PROVIDER) + .add(ModBlocks.GLOWOOD_BOOKSHELF); + + getOrCreateTagBuilder(BlockTags.CROPS) + .add(ModBlocks.DARK_WHEAT_CROP); + + getOrCreateTagBuilder(BlockTags.MAINTAINS_FARMLAND) + .add(ModBlocks.DARK_WHEAT_CROP); + + getOrCreateTagBuilder(BlockTags.WOODEN_FENCES) + .add(ModBlocks.GLOWOOD_FENCE); + + getOrCreateTagBuilder(BlockTags.CLIMBABLE) + .add(ModBlocks.GLOWOOD_LADDER); + + getOrCreateTagBuilder(BlockTags.SAND) + .add(ModBlocks.HEAT_SAND); + + getOrCreateTagBuilder(BlockTags.DIRT) + .add(ModBlocks.NETHER_DIRT); + + getOrCreateTagBuilder(BlockTags.WOODEN_DOORS) + .add(ModBlocks.GLOWOOD_DOOR); + + getOrCreateTagBuilder(BlockTags.WOODEN_STAIRS) + .add(ModBlocks.GLOWOOD_STAIRS); + + getOrCreateTagBuilder(BlockTags.WOODEN_PRESSURE_PLATES) + .add(ModBlocks.GLOWOOD_PRESSUREPLATE); + } } diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModItemTagProvider.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModItemTagProvider.java index 65440be..773ecb9 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModItemTagProvider.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModItemTagProvider.java @@ -19,13 +19,6 @@ public class ModItemTagProvider extends FabricTagProvider.ItemTagProvider { @Override protected void configure(RegistryWrapper.WrapperLookup wrapperLookup) { - //getOrCreateTagBuilder(ModTags.Items.TRANSFORMABLE_ITEMS) - // .add(ModItems.PINK_GARNET) - // .add(ModItems.RAW_PINK_GARNET) - // .add(Items.COAL) - // .add(Items.STICK) - // .add(Items.APPLE); - getOrCreateTagBuilder(ItemTags.LOGS) .add(ModBlocks.GLOWOOD_LOG.asItem()); @@ -35,5 +28,40 @@ public class ModItemTagProvider extends FabricTagProvider.ItemTagProvider { getOrCreateTagBuilder(ItemTags.LEAVES) .add(ModBlocks.GLOWOOD_LEAVES.asItem()); + + getOrCreateTagBuilder(ItemTags.SWORDS) + .add(ModItems.GLOWOOD_SWORD) + .add(ModItems.NETHER_SWORD) + .add(ModItems.LINIUM_SWORD) + .add(ModItems.NERIDIUM_SWORD) + .add(ModItems.PYRIDIUM_SWORD); + + getOrCreateTagBuilder(ItemTags.PICKAXES) + .add(ModItems.GLOWOOD_PICKAXE) + .add(ModItems.NETHER_PICKAXE) + .add(ModItems.LINIUM_PICKAXE) + .add(ModItems.NERIDIUM_PICKAXE) + .add(ModItems.PYRIDIUM_PICKAXE); + + getOrCreateTagBuilder(ItemTags.AXES) + .add(ModItems.GLOWOOD_AXE) + .add(ModItems.NETHER_AXE) + .add(ModItems.LINIUM_AXE) + .add(ModItems.NERIDIUM_AXE) + .add(ModItems.PYRIDIUM_AXE); + + getOrCreateTagBuilder(ItemTags.SHOVELS) + .add(ModItems.GLOWOOD_SHOVEL) + .add(ModItems.NETHER_SHOVEL) + .add(ModItems.LINIUM_SHOVEL) + .add(ModItems.NERIDIUM_SHOVEL) + .add(ModItems.PYRIDIUM_SHOVEL); + + getOrCreateTagBuilder(ItemTags.HOES) + .add(ModItems.GLOWOOD_HOE) + .add(ModItems.NETHER_HOE) + .add(ModItems.LINIUM_HOE) + .add(ModItems.NERIDIUM_HOE) + .add(ModItems.PYRIDIUM_HOE); } } diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModLootTableProvider.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModLootTableProvider.java index 808e5ec..1da2489 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModLootTableProvider.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModLootTableProvider.java @@ -19,6 +19,7 @@ import net.minecraft.predicate.StatePredicate; import net.minecraft.registry.RegistryKeys; import net.minecraft.registry.RegistryWrapper; import xyz.ibatv.nethercraft.block.ModBlocks; +import xyz.ibatv.nethercraft.block.custom.DarkWheatCropBlock; import xyz.ibatv.nethercraft.item.ModItems; import java.util.concurrent.CompletableFuture; @@ -33,6 +34,13 @@ public class ModLootTableProvider extends FabricBlockLootTableProvider { addDrop(ModBlocks.GLOWOOD_LOG); addDrop(ModBlocks.GLOWOOD_PLANKS); addDrop(ModBlocks.GLOWOOD_SAPLING); + addDrop(ModBlocks.GLOWOOD_BOOKSHELF); + addDrop(ModBlocks.GLOWOOD_STAIRS); + addDrop(ModBlocks.GLOWOOD_PRESSUREPLATE); + addDrop(ModBlocks.GLOWOOD_FENCE); + addDrop(ModBlocks.GLOWOOD_DOOR, doorDrops(ModBlocks.GLOWOOD_DOOR)); + addDrop(ModBlocks.GLOWOOD_LADDER); + addDrop(ModBlocks.NETHER_DIRT); addDrop(ModBlocks.GLOWOOD_LEAVES, leavesDrops(ModBlocks.GLOWOOD_LEAVES, ModBlocks.GLOWOOD_SAPLING, 0.0625f)); @@ -40,9 +48,27 @@ public class ModLootTableProvider extends FabricBlockLootTableProvider { //addDrop(ModBlocks.INFERIUM_ORE, multipleOreDrops(ModBlocks.INFERIUM_ORE, ModItems.INFERIUM_ESSENCE, 2, 4)); - //BlockStatePropertyLootCondition.Builder builder2 = BlockStatePropertyLootCondition.builder(ModBlocks.COAL_CROP) - // .properties(StatePredicate.Builder.create().exactMatch(CoalCropBlock.AGE, CoalCropBlock.MAX_AGE)); - //this.addDrop(ModBlocks.COAL_CROP, this.cropDrops(ModBlocks.COAL_CROP, ModItems.COAL_ESSENCE, ModItems.COAL_CROP_SEEDS, builder2)); + + addDrop(ModBlocks.FOULITE_ORE, multipleOreDrops(ModBlocks.FOULITE_ORE, ModItems.FOULITE_DUST, 1, 1)); + addDrop(ModBlocks.W_ORE, multipleOreDrops(ModBlocks.W_ORE, ModItems.W_DUST, 1, 1)); + addDrop(ModBlocks.LINIUM_ORE); + addDrop(ModBlocks.NERIDIUM_ORE); + addDrop(ModBlocks.PYRIDIUM_ORE); + + addDrop(ModBlocks.LINIUM_BLOCK); + addDrop(ModBlocks.NERIDIUM_BLOCK); + addDrop(ModBlocks.PYRIDIUM_BLOCK); + + + addDrop(ModBlocks.HEAT_SAND); + addDrop(ModBlocks.GREEN_GLOWSHROOM); + addDrop(ModBlocks.PURPLE_GLOWSHROOM); + addDrop(ModBlocks.LAVA_REEDS); + + + BlockStatePropertyLootCondition.Builder builder2 = BlockStatePropertyLootCondition.builder(ModBlocks.DARK_WHEAT_CROP) + .properties(StatePredicate.Builder.create().exactMatch(DarkWheatCropBlock.AGE, DarkWheatCropBlock.MAX_AGE)); + this.addDrop(ModBlocks.DARK_WHEAT_CROP, this.cropDrops(ModBlocks.DARK_WHEAT_CROP, ModItems.DARK_WHEAT, ModItems.DARK_WHEAT_SEEDS, builder2)); } public LootTable.Builder multipleOreDrops(Block drop, Item item, float minDrops, float maxDrops) { diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModModelProvider.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModModelProvider.java index 4333b75..bb0a8cd 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModModelProvider.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModModelProvider.java @@ -2,8 +2,11 @@ package xyz.ibatv.nethercraft.datagen; import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; import net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider; +import net.minecraft.block.Block; import net.minecraft.data.client.TexturedModel; import xyz.ibatv.nethercraft.block.ModBlocks; +import xyz.ibatv.nethercraft.block.custom.DarkWheatCropBlock; +import xyz.ibatv.nethercraft.block.custom.MoreCraftingTableBlock; import xyz.ibatv.nethercraft.item.ModItems; import net.minecraft.data.client.BlockStateModelGenerator; import net.minecraft.data.client.ItemModelGenerator; @@ -16,15 +19,107 @@ public class ModModelProvider extends FabricModelProvider { @Override public void generateBlockStateModels(BlockStateModelGenerator blockStateModelGenerator) { - blockStateModelGenerator.registerLog(ModBlocks.GLOWOOD_LOG).log(ModBlocks.GLOWOOD_LOG); + BlockStateModelGenerator.BlockTexturePool glowoodPlanksPool = blockStateModelGenerator.registerCubeAllModelTexturePool(ModBlocks.GLOWOOD_PLANKS); + - blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.GLOWOOD_PLANKS); blockStateModelGenerator.registerSingleton(ModBlocks.GLOWOOD_LEAVES, TexturedModel.LEAVES); blockStateModelGenerator.registerTintableCrossBlockState(ModBlocks.GLOWOOD_SAPLING, BlockStateModelGenerator.TintType.NOT_TINTED); + blockStateModelGenerator.registerLog(ModBlocks.GLOWOOD_LOG).log(ModBlocks.GLOWOOD_LOG); + blockStateModelGenerator.registerLog(ModBlocks.GLOWOOD_BOOKSHELF).log(ModBlocks.GLOWOOD_BOOKSHELF); + + glowoodPlanksPool.stairs(ModBlocks.GLOWOOD_STAIRS); + glowoodPlanksPool.pressurePlate(ModBlocks.GLOWOOD_PRESSUREPLATE); + glowoodPlanksPool.fence(ModBlocks.GLOWOOD_FENCE); + + blockStateModelGenerator.registerDoor(ModBlocks.GLOWOOD_DOOR); + + + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.NETHER_DIRT); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.SMOOTH_NETHERRACK); + + + + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.FOULITE_ORE); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.W_ORE); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.LINIUM_ORE); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.NERIDIUM_ORE); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.PYRIDIUM_ORE); + + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.LINIUM_BLOCK); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.NERIDIUM_BLOCK); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.PYRIDIUM_BLOCK); + + + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.NETHER_GLASS); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.SLOW_GLASS); + blockStateModelGenerator.registerSimpleCubeAll(ModBlocks.HEAT_SAND); + + + //blockStateModelGenerator.registerTintableCrossBlockState(ModBlocks.GREEN_GLOWSHROOM,BlockStateModelGenerator.TintType.NOT_TINTED); + //blockStateModelGenerator.registerTintableCrossBlockState(ModBlocks.PURPLE_GLOWSHROOM,BlockStateModelGenerator.TintType.NOT_TINTED); + //blockStateModelGenerator.registerTintableCrossBlockState(ModBlocks.LAVA_REEDS, BlockStateModelGenerator.TintType.NOT_TINTED); + + + //blockStateModelGenerator.registerSimpleCubeAll(MoreCraftingTableBlock.GLOWOOD_CRAFTING_TABLE); + + + + blockStateModelGenerator.registerCrop(ModBlocks.DARK_WHEAT_CROP, DarkWheatCropBlock.AGE, 0, 1, 2, 3, 4, 5); + } @Override public void generateItemModels(ItemModelGenerator itemModelGenerator) { itemModelGenerator.register(ModItems.NETHERSTICK, Models.GENERATED); + itemModelGenerator.register(ModItems.DARK_WHEAT, Models.GENERATED); + itemModelGenerator.register(ModItems.DEVILBREAD, Models.GENERATED); + itemModelGenerator.register(ModItems.GLOWSTEW, Models.GENERATED); + itemModelGenerator.register(ModItems.FOULITE_DUST, Models.GENERATED); + itemModelGenerator.register(ModItems.W_DUST, Models.GENERATED); + + itemModelGenerator.register(ModItems.LINIUM_INGOT, Models.GENERATED); + itemModelGenerator.register(ModItems.NERIDIUM_INGOT, Models.GENERATED); + itemModelGenerator.register(ModItems.PYRIDIUM_INGOT, Models.GENERATED); + itemModelGenerator.register(ModItems.W_INGOT, Models.GENERATED); + itemModelGenerator.register(ModItems.GLOWOOD_BOWL, Models.GENERATED); + itemModelGenerator.register(ModItems.LAVA_PAPER, Models.GENERATED); + itemModelGenerator.register(ModItems.LAVA_BOOK, Models.GENERATED); + itemModelGenerator.register(ModItems.IMP_SKIN, Models.GENERATED); + + + + itemModelGenerator.register(ModItems.NERIDIUM_LIGHTER, Models.HANDHELD); + + + + itemModelGenerator.register(ModItems.GLOWOOD_SWORD, Models.HANDHELD); + itemModelGenerator.register(ModItems.GLOWOOD_PICKAXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.GLOWOOD_AXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.GLOWOOD_SHOVEL, Models.HANDHELD); + itemModelGenerator.register(ModItems.GLOWOOD_HOE, Models.HANDHELD); + + itemModelGenerator.register(ModItems.NETHER_SWORD, Models.HANDHELD); + itemModelGenerator.register(ModItems.NETHER_PICKAXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.NETHER_AXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.NETHER_SHOVEL, Models.HANDHELD); + itemModelGenerator.register(ModItems.NETHER_HOE, Models.HANDHELD); + + itemModelGenerator.register(ModItems.LINIUM_SWORD, Models.HANDHELD); + itemModelGenerator.register(ModItems.LINIUM_PICKAXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.LINIUM_AXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.LINIUM_SHOVEL, Models.HANDHELD); + itemModelGenerator.register(ModItems.LINIUM_HOE, Models.HANDHELD); + + itemModelGenerator.register(ModItems.NERIDIUM_SWORD, Models.HANDHELD); + itemModelGenerator.register(ModItems.NERIDIUM_PICKAXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.NERIDIUM_AXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.NERIDIUM_SHOVEL, Models.HANDHELD); + itemModelGenerator.register(ModItems.NERIDIUM_HOE, Models.HANDHELD); + + itemModelGenerator.register(ModItems.PYRIDIUM_SWORD, Models.HANDHELD); + itemModelGenerator.register(ModItems.PYRIDIUM_PICKAXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.PYRIDIUM_AXE, Models.HANDHELD); + itemModelGenerator.register(ModItems.PYRIDIUM_SHOVEL, Models.HANDHELD); + itemModelGenerator.register(ModItems.PYRIDIUM_HOE, Models.HANDHELD); } } diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModNetherWorldGenerator.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModNetherWorldGenerator.java new file mode 100644 index 0000000..e1d1658 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModNetherWorldGenerator.java @@ -0,0 +1,29 @@ +package xyz.ibatv.nethercraft.datagen; + +import io.netty.util.concurrent.CompleteFuture; +import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; +import net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider; +import net.minecraft.registry.RegistryEntryLookup; +import net.minecraft.registry.RegistryKey; +import net.minecraft.registry.RegistryKeys; +import net.minecraft.registry.RegistryWrapper; + +import java.sql.Wrapper; +import java.util.concurrent.CompletableFuture; + +public class ModNetherWorldGenerator extends FabricDynamicRegistryProvider { + public ModNetherWorldGenerator(FabricDataOutput output, CompletableFuture registriesFuture){ + super(output, registriesFuture); + } + + @Override + protected void configure(RegistryWrapper.WrapperLookup registries, Entries entries) { + entries.addAll(registries.getWrapperOrThrow(RegistryKeys.CONFIGURED_FEATURE)); + entries.addAll(registries.getWrapperOrThrow(RegistryKeys.PLACED_FEATURE)); + } + + @Override + public String getName() { + return "Corrupted World Generator"; + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModRecipeProvider.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModRecipeProvider.java index fe59367..9c0e1a2 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModRecipeProvider.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModRecipeProvider.java @@ -3,14 +3,18 @@ package xyz.ibatv.nethercraft.datagen; import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; import net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider; import net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags; +import net.minecraft.block.Blocks; import net.minecraft.data.server.recipe.RecipeExporter; import net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder; +import net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder; +import net.minecraft.item.Items; import net.minecraft.recipe.book.RecipeCategory; import net.minecraft.registry.RegistryWrapper; import net.minecraft.registry.tag.ItemTags; import net.minecraft.util.Identifier; import xyz.ibatv.nethercraft.NethercraftClassic; import xyz.ibatv.nethercraft.block.ModBlocks; +import xyz.ibatv.nethercraft.block.custom.MoreCraftingTableBlock; import xyz.ibatv.nethercraft.item.ModItems; import java.util.concurrent.CompletableFuture; @@ -24,167 +28,160 @@ public class ModRecipeProvider extends FabricRecipeProvider { public void generate(RecipeExporter recipeExporter) { /*offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.PROSPERITY_SHARD, RecipeCategory.BUILDING_BLOCKS, ModBlocks.PROSPERITY_GEMSTONE_BLOCK); offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.PROSPERITY_INGOT, RecipeCategory.BUILDING_BLOCKS, ModBlocks.PROSPERITY_INGOT_BLOCK); + */ + + ShapelessRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.NERIDIUM_LIGHTER) + .input(ModItems.NERIDIUM_INGOT) + .input(Items.FLINT) + .criterion(hasItem(Items.FLINT), conditionsFromItem(Items.FLINT)) + .criterion(hasItem(ModItems.NERIDIUM_INGOT), conditionsFromItem(ModItems.NERIDIUM_INGOT)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PROSPERITY_INGOT) - .pattern(" S ") - .pattern("SIS") - .pattern(" S ") - .input('S', ModItems.PROSPERITY_SHARD) - .input('I', ConventionalItemTags.IRON_INGOTS) - .criterion(hasItem(ModItems.PROSPERITY_SHARD), conditionsFromItem(ModItems.PROSPERITY_SHARD)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "prosperity_shards_to_ingot")); + /*ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ItemRegistry.NERIDIUM_BUCKET) + .pattern("n n") + .pattern(" n ") + .input('n', ModItems.NERIDIUM_INGOT) + .criterion(hasItem(ModItems.NERIDIUM_INGOT), conditionsFromItem(ModItems.NERIDIUM_INGOT)) + .offerTo(recipeExporter);*/ - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PRUDENTIUM_ESSENCE, 16) - .pattern(" S ") - .pattern("SIS") - .pattern(" S ") - .input('S', ModItems.INFERIUM_ESSENCE) - .input('I', ModItems.INFUSION_CRYSTAL) - .criterion(hasItem(ModItems.INFUSION_CRYSTAL), conditionsFromItem(ModItems.INFUSION_CRYSTAL)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "prudentium_essence_recipe")); + ShapelessRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.W_INGOT) + .input(Items.LAVA_BUCKET) + .input(ModItems.W_DUST) + .criterion(hasItem(ModItems.W_DUST), conditionsFromItem(ModItems.W_DUST)) + .criterion(hasItem(ModItems.W_DUST), conditionsFromItem(ModItems.W_DUST)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PROSPERITY_SEED_BASE) - .pattern(" S ") - .pattern("SWS") - .pattern(" S ") - .input('S', ModItems.PROSPERITY_SHARD) - .input('W', ModItems.PLACEHOLDER) - //replace 'ModID:placeholder' with 'minecraft:wheat_seeds' after data gen - .criterion(hasItem(ModItems.PROSPERITY_SHARD), conditionsFromItem(ModItems.PROSPERITY_SHARD)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "prosperity_seed_base_recipe")); + ShapelessRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.LAVA_BOOK) + .input(ModItems.LAVA_PAPER) + .input(ModItems.LAVA_PAPER) + .input(ModItems.LAVA_PAPER) + .input(ModItems.IMP_SKIN) + .criterion(hasItem(ModItems.LAVA_PAPER), conditionsFromItem(ModItems.LAVA_PAPER)) + .criterion(hasItem(ModItems.IMP_SKIN), conditionsFromItem(ModItems.IMP_SKIN)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.INFERIUM_CROP_SEEDS) - .pattern(" I ") - .pattern("IBI") - .pattern(" I ") - .input('I', ModItems.INFERIUM_ESSENCE) - .input('B', ModItems.PROSPERITY_SEED_BASE) - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "t1_seed_base_recipe")); - // - // COAL ORE - // + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.LAVA_PAPER) + .pattern("lll") + .input('l', ModBlocks.LAVA_REEDS) + .criterion(hasItem(ModBlocks.LAVA_REEDS), conditionsFromItem(ModBlocks.LAVA_REEDS)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.COAL_CROP_SEEDS) - .pattern("CIC") - .pattern("ITI") - .pattern("CIC") - .input('I', ModItems.PRUDENTIUM_ESSENCE) - .input('T', ModItems.PROSPERITY_SEED_BASE) - .input('C', ModItems.PLACEHOLDER) - // Replace 'ModId:PLACEHOLDER' with 'minecraft:coal' after data gen - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "coal_seeds_recipe")); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PLACEHOLDER, 12) - // why the FUCK does coal not exist??? Most useless fucking thing possible. - // Replace 'ModId:PLACEHOLDER' with 'minecraft:coal' after data gen - .pattern("CCC") - .pattern("C C") - .pattern("CCC") - .input('C', ModItems.COAL_ESSENCE) - .criterion(hasItem(ModItems.COAL_ESSENCE), conditionsFromItem(ModItems.COAL_ESSENCE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "coal_essence_to_coal")); + // FOOD + ShapedRecipeJsonBuilder.create(RecipeCategory.FOOD, ModItems.DEVILBREAD) + .pattern("www") + .input('w', ModItems.DARK_WHEAT) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - // - // COPPER ORE - // + ShapelessRecipeJsonBuilder.create(RecipeCategory.FOOD, ModItems.GLOWSTEW) + .input(ModItems.GLOWOOD_BOWL) + .input(ModBlocks.GREEN_GLOWSHROOM) + .input(ModBlocks.PURPLE_GLOWSHROOM) + .criterion(hasItem(ModItems.GLOWOOD_BOWL), conditionsFromItem(ModItems.GLOWOOD_BOWL)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.COPPER_CROP_SEEDS) - .pattern("CIC") - .pattern("ITI") - .pattern("CIC") - .input('I', ModItems.INFERIUM_ESSENCE) - .input('T', ModItems.PROSPERITY_SEED_BASE) - .input('C', ConventionalItemTags.COPPER_INGOTS) - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "copper_seeds_recipe")); + // GLOWOOD-RELATED ITEMS + ShapelessRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_PLANKS, 4) + .input(ModBlocks.GLOWOOD_LOG) + .criterion(hasItem(ModBlocks.GLOWOOD_LOG), conditionsFromItem(ModBlocks.GLOWOOD_LOG)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PLACEHOLDER, 12) - // why the FUCK does copper ingot not exist??? Most useless fucking thing possible. - // Replace 'ModId:PLACEHOLDER' with 'minecraft:copper_ingot' after data gen - .pattern("CCC") - .pattern("C C") - .pattern("CCC") - .input('C', ModItems.COPPER_ESSENCE) - .criterion(hasItem(ModItems.COPPER_ESSENCE), conditionsFromItem(ModItems.COPPER_ESSENCE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "copper_essence_to_ingot")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, MoreCraftingTableBlock.GLOWOOD_CRAFTING_TABLE) + .pattern("WW") + .pattern("WW") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - // - // IRON ORE - // + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_STAIRS, 4) + .pattern("W ") + .pattern("WW ") + .pattern("WWW") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.IRON_CROP_SEEDS) - .pattern("CIC") - .pattern("ITI") - .pattern("CIC") - .input('I', ModItems.INFERIUM_ESSENCE) - .input('T', ModItems.PROSPERITY_SEED_BASE) - .input('C', ConventionalItemTags.IRON_INGOTS) - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "iron_seeds_recipe")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_FENCE, 3) + .pattern("WSW") + .pattern("WSW") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .input('S', ModItems.NETHERSTICK) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PLACEHOLDER, 12) - // why the FUCK does iron ingot not exist??? Most useless fucking thing possible. - // Replace 'ModId:PLACEHOLDER' with 'minecraft:iron_ingot' after data gen - .pattern("CCC") - .pattern("C C") - .pattern("CCC") - .input('C', ModItems.IRON_ESSENCE) - .criterion(hasItem(ModItems.IRON_ESSENCE), conditionsFromItem(ModItems.IRON_ESSENCE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "iron_essence_to_ingot")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_PRESSUREPLATE) + .pattern("WW") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - // - // GOLD ORE - // + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_DOOR) + .pattern("WW") + .pattern("WW") + .pattern("WW") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.GOLD_CROP_SEEDS) - .pattern("CIC") - .pattern("ITI") - .pattern("CIC") - .input('I', ModItems.INFERIUM_ESSENCE) - .input('T', ModItems.PROSPERITY_SEED_BASE) - .input('C', ConventionalItemTags.GOLD_INGOTS) - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "gold_seeds_recipe")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.NETHERSTICK, 4) + .pattern("W") + .pattern("W") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PLACEHOLDER, 12) - // why the FUCK does gold ingot not exist??? Most useless fucking thing possible. - // Replace 'ModId:PLACEHOLDER' with 'minecraft:gold_ingot' after data gen - .pattern("CCC") - .pattern("C C") - .pattern("CCC") - .input('C', ModItems.GOLD_ESSENCE) - .criterion(hasItem(ModItems.GOLD_ESSENCE), conditionsFromItem(ModItems.GOLD_ESSENCE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "gold_essence_to_ingot")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.GLOWOOD_BOWL, 4) + .pattern("W W") + .pattern(" W ") + .input('W', ModBlocks.GLOWOOD_PLANKS) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .offerTo(recipeExporter); - // - // DIAMOND ORE - // + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_LADDER, 3) + .pattern("S S") + .pattern("SSS") + .pattern("S S") + .input('S', ModItems.NETHERSTICK) + .criterion(hasItem(ModItems.NETHERSTICK), conditionsFromItem(ModItems.NETHERSTICK)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.DIAMOND_CROP_SEEDS) - .pattern("CIC") - .pattern("ITI") - .pattern("CIC") - .input('I', ModItems.INFERIUM_ESSENCE) - .input('T', ModItems.PROSPERITY_SEED_BASE) - .input('C', ConventionalItemTags.DIAMOND_GEMS) - .criterion(hasItem(ModItems.PROSPERITY_SEED_BASE), conditionsFromItem(ModItems.PROSPERITY_SEED_BASE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "diamond_seeds_recipe")); + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.GLOWOOD_BOOKSHELF) + .pattern("GGG") + .pattern("LLL") + .pattern("GGG") + .input('G', ModBlocks.GLOWOOD_PLANKS) + .input('L', ModItems.LAVA_BOOK) + .criterion(hasItem(ModBlocks.GLOWOOD_PLANKS), conditionsFromItem(ModBlocks.GLOWOOD_PLANKS)) + .criterion(hasItem(ModItems.LAVA_BOOK), conditionsFromItem(ModItems.LAVA_BOOK)) + .offerTo(recipeExporter); - ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModItems.PLACEHOLDER, 12) - // why the FUCK does DIAMONDS not exist??? Most useless fucking thing possible. - // Replace 'ModId:PLACEHOLDER' with 'minecraft:diamond' after data gen - .pattern("CCC") - .pattern("C C") - .pattern("CCC") - .input('C', ModItems.DIAMOND_ESSENCE) - .criterion(hasItem(ModItems.DIAMOND_ESSENCE), conditionsFromItem(ModItems.DIAMOND_ESSENCE)) - .offerTo(recipeExporter, Identifier.of(MysticalAgricultureFabric.MOD_ID, "diamond_essence_to_gem"));*/ + //Misc Crafting recipes. + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.SMOOTH_NETHERRACK, 4) + .pattern("NN") + .pattern("NN") + .input('N', Blocks.NETHERRACK) + .criterion(hasItem(Blocks.NETHERRACK), conditionsFromItem(Blocks.NETHERRACK)) + .offerTo(recipeExporter); + + ShapedRecipeJsonBuilder.create(RecipeCategory.MISC, ModBlocks.NETHER_DIRT, 4) + .pattern("DN") + .pattern("ND") + .input('N', Blocks.NETHERRACK) + .input('D', Blocks.DIRT) + .criterion(hasItem(Blocks.NETHERRACK), conditionsFromItem(Blocks.NETHERRACK)) + .offerTo(recipeExporter); + + // I don't know how to datagen smelting/blasting so theyre all located in + // src/main/resources/data/nethercraft-classic/recipe + + offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.MISC, ModItems.LINIUM_INGOT, RecipeCategory.MISC, ModBlocks.LINIUM_BLOCK); + offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.MISC, ModItems.NERIDIUM_INGOT, RecipeCategory.MISC, ModBlocks.NERIDIUM_BLOCK); + offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.MISC, ModItems.PYRIDIUM_INGOT, RecipeCategory.MISC, ModBlocks.PYRIDIUM_BLOCK); } } diff --git a/src/main/java/xyz/ibatv/nethercraft/datagen/ModRegistryDataGenerator.java b/src/main/java/xyz/ibatv/nethercraft/datagen/ModRegistryDataGenerator.java index 1ff943c..1235ab0 100644 --- a/src/main/java/xyz/ibatv/nethercraft/datagen/ModRegistryDataGenerator.java +++ b/src/main/java/xyz/ibatv/nethercraft/datagen/ModRegistryDataGenerator.java @@ -14,8 +14,8 @@ public class ModRegistryDataGenerator extends FabricDynamicRegistryProvider { @Override protected void configure(RegistryWrapper.WrapperLookup registries, Entries entries) { - entries.addAll(registries.getWrapperOrThrow(RegistryKeys.CONFIGURED_FEATURE)); - entries.addAll(registries.getWrapperOrThrow(RegistryKeys.PLACED_FEATURE)); + //entries.addAll(registries.getWrapperOrThrow(RegistryKeys.CONFIGURED_FEATURE)); + //entries.addAll(registries.getWrapperOrThrow(RegistryKeys.PLACED_FEATURE)); } @Override diff --git a/src/main/java/xyz/ibatv/nethercraft/init/BlockInit.java b/src/main/java/xyz/ibatv/nethercraft/init/BlockInit.java new file mode 100644 index 0000000..fa0306c --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/init/BlockInit.java @@ -0,0 +1,31 @@ +package xyz.ibatv.nethercraft.init; + +import xyz.ibatv.nethercraft.NethercraftClassic; +import xyz.ibatv.nethercraft.block.MoreFurnaceBlock; +import xyz.ibatv.nethercraft.block.entity.MoreFurnaceBlockEntity; +import java.util.ArrayList; +import java.util.List; +import net.minecraft.block.Block; +import net.minecraft.block.MapColor; +import net.minecraft.block.entity.BlockEntityType; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; +import net.minecraft.sound.BlockSoundGroup; + +public class BlockInit { + public static final MoreFurnaceBlock NETHERRACK_FURNACE = new MoreFurnaceBlock(MapColor.DARK_RED, BlockSoundGroup.NETHERRACK, 4.5f, "netherrack"); + public static BlockEntityType MORE_FURNACE_BLOCK_ENTITY; + public static final List blocks = new ArrayList<>(); + + public static void registerBlocks() { + registerBlock("netherrack_furnace", NETHERRACK_FURNACE); + + MORE_FURNACE_BLOCK_ENTITY = Registry.register(Registries.BLOCK_ENTITY_TYPE, NethercraftClassic.asId("more_furnace"), + BlockEntityType.Builder.create(MoreFurnaceBlockEntity::new, BlockInit.blocks.toArray(Block[]::new)).build()); + } + + private static void registerBlock(String name, Block block) { + Registry.register(Registries.BLOCK, NethercraftClassic.asId(name), block); + blocks.add(block); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/init/ItemInit.java b/src/main/java/xyz/ibatv/nethercraft/init/ItemInit.java new file mode 100644 index 0000000..ef5fa3f --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/init/ItemInit.java @@ -0,0 +1,20 @@ +package xyz.ibatv.nethercraft.init; + +import xyz.ibatv.nethercraft.NethercraftClassic; +import net.minecraft.item.BlockItem; +import net.minecraft.item.Item; +import net.minecraft.item.Items; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; + +public class ItemInit { + public static BlockItem NETHERRACK_FURNACE_I = new BlockItem(BlockInit.NETHERRACK_FURNACE, (new Item.Settings())); + + public static void registerItems() { + registerItem("netherrack_furnace", NETHERRACK_FURNACE_I, Items.FURNACE); + } + + public static void registerItem(String name, Item item, Item after) { + Registry.register(Registries.ITEM, NethercraftClassic.asId(name), item); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/init/MblvBlockInit.java b/src/main/java/xyz/ibatv/nethercraft/init/MblvBlockInit.java new file mode 100644 index 0000000..ad46e14 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/init/MblvBlockInit.java @@ -0,0 +1,35 @@ +package xyz.ibatv.nethercraft.init; + +// REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + +import xyz.ibatv.nethercraft.block.MoreBarrelBlock; +import xyz.ibatv.nethercraft.block.entity.MoreBarrelBlockEntity; +import java.util.ArrayList; +import java.util.List; +import net.minecraft.block.Block; +import net.minecraft.block.MapColor; +import net.minecraft.block.entity.BlockEntityType; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; +import xyz.ibatv.nethercraft.NethercraftClassic; + +public class MblvBlockInit { + public static final MoreBarrelBlock GLOWOOD_BARREL = new MoreBarrelBlock(MapColor.OAK_TAN, "glowood"); + + public static BlockEntityType MORE_BARREL_BLOCK_ENTITY; + + public static final List more_barrels = new ArrayList<>(); + + + public static void registerBlocks() { + registerBlock(GLOWOOD_BARREL); + + MORE_BARREL_BLOCK_ENTITY = Registry.register(Registries.BLOCK_ENTITY_TYPE, NethercraftClassic.asId("more_barrel"), BlockEntityType.Builder.create(MoreBarrelBlockEntity::new, MblvBlockInit.more_barrels.toArray(Block[]::new)).build()); + + } + + private static void registerBlock(MoreBarrelBlock barrel) { + Registry.register(Registries.BLOCK, NethercraftClassic.asId(barrel.barrelWoodType + "_barrel"), barrel); + more_barrels.add(barrel); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/init/MblvItemInit.java b/src/main/java/xyz/ibatv/nethercraft/init/MblvItemInit.java new file mode 100644 index 0000000..b5d1ec3 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/init/MblvItemInit.java @@ -0,0 +1,24 @@ +package xyz.ibatv.nethercraft.init; + +// REMOVE "BARRELS" FOR ACTUAL CHESTS AT SOME POINT. + +import xyz.ibatv.nethercraft.block.MoreBarrelBlock; +import net.minecraft.item.BlockItem; +import net.minecraft.item.Item; +import net.minecraft.item.Items; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; +import xyz.ibatv.nethercraft.NethercraftClassic; + +public class MblvItemInit { + public static final BlockItem GLOWOOD_BARREL_I = new BlockItem(MblvBlockInit.GLOWOOD_BARREL, new Item.Settings()); + + + public static void registerItems() { + registerItem(GLOWOOD_BARREL_I, Items.BARREL); + } + + private static void registerItem(BlockItem barrel, Item barrelAfter) { + Registry.register(Registries.ITEM, NethercraftClassic.asId(((MoreBarrelBlock) barrel.getBlock()).barrelWoodType + "_barrel"), barrel); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/item/ModFoodComponents.java b/src/main/java/xyz/ibatv/nethercraft/item/ModFoodComponents.java new file mode 100644 index 0000000..a9b9750 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/item/ModFoodComponents.java @@ -0,0 +1,9 @@ +package xyz.ibatv.nethercraft.item; + +import net.minecraft.component.type.FoodComponent; +import net.minecraft.item.Items; + +public class ModFoodComponents { + public static final FoodComponent DEVILBREAD = new FoodComponent.Builder().nutrition(5).saturationModifier(0.6f).build(); + public static final FoodComponent GLOWSTEW = new FoodComponent.Builder().nutrition(6).saturationModifier(0.72f).usingConvertsTo(ModItems.GLOWOOD_BOWL).build(); +} diff --git a/src/main/java/xyz/ibatv/nethercraft/item/ModItemGroups.java b/src/main/java/xyz/ibatv/nethercraft/item/ModItemGroups.java index 312c134..cc7081d 100644 --- a/src/main/java/xyz/ibatv/nethercraft/item/ModItemGroups.java +++ b/src/main/java/xyz/ibatv/nethercraft/item/ModItemGroups.java @@ -8,7 +8,8 @@ import net.minecraft.registry.Registry; import net.minecraft.text.Text; import net.minecraft.util.Identifier; import xyz.ibatv.nethercraft.block.ModBlocks; -import xyz.ibatv.nethercraft.item.ModItems; +import xyz.ibatv.nethercraft.block.custom.MoreCraftingTableBlock; +import xyz.ibatv.nethercraft.init.BlockInit; import xyz.ibatv.nethercraft.NethercraftClassic; public class ModItemGroups { @@ -22,8 +23,86 @@ public class ModItemGroups { entries.add(ModBlocks.GLOWOOD_LEAVES); entries.add(ModBlocks.GLOWOOD_PLANKS); entries.add(ModBlocks.GLOWOOD_SAPLING); + entries.add(ModBlocks.GLOWOOD_BOOKSHELF); + entries.add(MoreCraftingTableBlock.GLOWOOD_CRAFTING_TABLE); + entries.add(ModBlocks.GLOWOOD_STAIRS); + entries.add(ModBlocks.GLOWOOD_PRESSUREPLATE); + entries.add(ModBlocks.GLOWOOD_FENCE); + entries.add(ModBlocks.GLOWOOD_DOOR); + entries.add(ModBlocks.GLOWOOD_LADDER); + entries.add(BlockInit.NETHERRACK_FURNACE); + entries.add(ModBlocks.NETHER_DIRT); + entries.add(ModBlocks.NETHER_DIRT_FARMLAND); + // TODO: Replace Barrel with chest eventually, will have to check how custom chests work and + // and make a good texture as b1.7.3 used regular blocks instead of the entity chest. + //entries.add(MblvBlockInit.GLOWOOD_BARREL); + entries.add(ModBlocks.FOULITE_ORE); + entries.add(ModBlocks.W_ORE); + entries.add(ModBlocks.LINIUM_ORE); + entries.add(ModBlocks.NERIDIUM_ORE); + entries.add(ModBlocks.PYRIDIUM_ORE); + + entries.add(ModBlocks.LINIUM_BLOCK); + entries.add(ModBlocks.NERIDIUM_BLOCK); + entries.add(ModBlocks.PYRIDIUM_BLOCK); + + + entries.add(ModBlocks.NETHER_GLASS); + entries.add(ModBlocks.SLOW_GLASS); + entries.add(ModBlocks.HEAT_SAND); + entries.add(ModBlocks.GREEN_GLOWSHROOM); + entries.add(ModBlocks.PURPLE_GLOWSHROOM); + entries.add(ModBlocks.LAVA_REEDS); + //Items entries.add(ModItems.NETHERSTICK); + entries.add(ModItems.DARK_WHEAT_SEEDS); + entries.add(ModItems.DARK_WHEAT); + entries.add(ModItems.DEVILBREAD); + entries.add(ModItems.GLOWSTEW); + entries.add(ModItems.FOULITE_DUST); + entries.add(ModItems.W_DUST); + entries.add(ModItems.LINIUM_INGOT); + entries.add(ModItems.NERIDIUM_INGOT); + entries.add(ModItems.PYRIDIUM_INGOT); + entries.add(ModItems.W_INGOT); + entries.add(ModItems.GLOWOOD_BOWL); + entries.add(ModItems.LAVA_PAPER); + entries.add(ModItems.LAVA_BOOK); + entries.add(ModItems.IMP_SKIN); + + //tools + entries.add(ModItems.NERIDIUM_LIGHTER); + + entries.add(ModItems.GLOWOOD_SWORD); + entries.add(ModItems.GLOWOOD_PICKAXE); + entries.add(ModItems.GLOWOOD_AXE); + entries.add(ModItems.GLOWOOD_SHOVEL); + entries.add(ModItems.GLOWOOD_HOE); + + entries.add(ModItems.NETHER_SWORD); + entries.add(ModItems.NETHER_PICKAXE); + entries.add(ModItems.NETHER_AXE); + entries.add(ModItems.NETHER_SHOVEL); + entries.add(ModItems.NETHER_HOE); + + entries.add(ModItems.LINIUM_SWORD); + entries.add(ModItems.LINIUM_PICKAXE); + entries.add(ModItems.LINIUM_AXE); + entries.add(ModItems.LINIUM_SHOVEL); + entries.add(ModItems.LINIUM_HOE); + + entries.add(ModItems.NERIDIUM_SWORD); + entries.add(ModItems.NERIDIUM_PICKAXE); + entries.add(ModItems.NERIDIUM_AXE); + entries.add(ModItems.NERIDIUM_SHOVEL); + entries.add(ModItems.NERIDIUM_HOE); + + entries.add(ModItems.PYRIDIUM_SWORD); + entries.add(ModItems.PYRIDIUM_PICKAXE); + entries.add(ModItems.PYRIDIUM_AXE); + entries.add(ModItems.PYRIDIUM_SHOVEL); + entries.add(ModItems.PYRIDIUM_HOE); }).build()); diff --git a/src/main/java/xyz/ibatv/nethercraft/item/ModItems.java b/src/main/java/xyz/ibatv/nethercraft/item/ModItems.java index 24ffbbc..0f350e5 100644 --- a/src/main/java/xyz/ibatv/nethercraft/item/ModItems.java +++ b/src/main/java/xyz/ibatv/nethercraft/item/ModItems.java @@ -1,27 +1,163 @@ package xyz.ibatv.nethercraft.item; import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents; -import net.minecraft.item.AliasedBlockItem; -import net.minecraft.item.Item; -import net.minecraft.item.ItemGroups; +import net.minecraft.fluid.Fluids; +import net.minecraft.item.*; import net.minecraft.registry.Registries; import net.minecraft.registry.Registry; import net.minecraft.util.Identifier; import xyz.ibatv.nethercraft.NethercraftClassic; import xyz.ibatv.nethercraft.block.ModBlocks; +import static net.minecraft.item.Items.BUCKET; + public class ModItems { public static final Item NETHERSTICK = registerItem("netherstick", new Item(new Item.Settings())); + public static final Item DARK_WHEAT = registerItem("dark_wheat", new Item(new Item.Settings())); + public static final Item LAVA_PAPER = registerItem("lava_paper", new Item(new Item.Settings())); + public static final Item LAVA_BOOK = registerItem("lava_book", new Item(new Item.Settings())); + public static final Item IMP_SKIN = registerItem("imp_skin", new Item(new Item.Settings())); + + public static final Item FOULITE_DUST = registerItem("foulite_dust", new Item(new Item.Settings())); + public static final Item W_DUST = registerItem("w_dust", new Item(new Item.Settings())); + + public static final Item LINIUM_INGOT = registerItem("linium_ingot", new Item(new Item.Settings())); + public static final Item NERIDIUM_INGOT = registerItem("neridium_ingot", new Item(new Item.Settings())); + public static final Item PYRIDIUM_INGOT = registerItem("pyridium_ingot", new Item(new Item.Settings())); + public static final Item W_INGOT = registerItem("w_ingot", new Item(new Item.Settings())); - public static final Item PLACEHOLDER = registerItem("placeholder", new Item(new Item.Settings())); - //Placeholder for recipes when ConventionalItemTags.* doesn't actually have an item because fuck you. + public static final Item GLOWOOD_BOWL = registerItem("glowood_bowl", new Item(new Item.Settings())); - //public static final Item COAL_CROP_SEEDS = registerItem("coal_crop_seeds", - // new AliasedBlockItem(ModBlocks.COAL_CROP, new Item.Settings())); + public static final Item DEVILBREAD = registerItem("devilbread", new Item(new Item.Settings().food(ModFoodComponents.DEVILBREAD))); + public static final Item GLOWSTEW = registerItem("glowstew", new Item(new Item.Settings().food(ModFoodComponents.GLOWSTEW))); + + public static final Item DARK_WHEAT_SEEDS = registerItem("dark_wheat_seeds", + new AliasedBlockItem(ModBlocks.DARK_WHEAT_CROP, new Item.Settings())); + public static final Item NERIDIUM_LIGHTER = registerItem("neridium_lighter", + new FlintAndSteelItem(new Item.Settings().maxDamage(64))); + + + + // Todo: Find out a way to implement custom buckets that dont auto-magically + // convert back to regular minecraft:bucket. I tried BucketLib and even making a + // custom bucket class, but it MucketLib didnt work, and custom bucket class + // kept converting them back to minecraft:bucket. + + //public static final Item NERIDIUM_BUCKET = registerItem("neridium_bucket", + // new BucketItem(Fluids.EMPTY, (new Item.Settings()).maxCount(16))); + + //public static final Item NERIDIUM_LAVA_BUCKET = registerItem("neridium_lava_bucket", + // new BucketItem(Fluids.LAVA, (new Item.Settings()).recipeRemainder(BUCKET).maxCount(16))); + + + + public static final Item GLOWOOD_SWORD = registerItem("glowood_sword", + new SwordItem(ModToolMaterials.GLOW_WOOD, new Item.Settings() + .attributeModifiers(SwordItem.createAttributeModifiers(ModToolMaterials.GLOW_WOOD, 3, -2.4f)))); + + public static final Item GLOWOOD_PICKAXE = registerItem("glowood_pickaxe", + new PickaxeItem(ModToolMaterials.GLOW_WOOD, new Item.Settings() + .attributeModifiers(PickaxeItem.createAttributeModifiers(ModToolMaterials.GLOW_WOOD, 1, -2.8f)))); + + public static final Item GLOWOOD_SHOVEL = registerItem("glowood_shovel", + new ShovelItem(ModToolMaterials.GLOW_WOOD, new Item.Settings() + .attributeModifiers(ShovelItem.createAttributeModifiers(ModToolMaterials.GLOW_WOOD, 1.5f, -3f)))); + + public static final Item GLOWOOD_AXE = registerItem("glowood_axe", + new AxeItem(ModToolMaterials.GLOW_WOOD, new Item.Settings() + .attributeModifiers(AxeItem.createAttributeModifiers(ModToolMaterials.GLOW_WOOD, 6, -3.2f)))); + + public static final Item GLOWOOD_HOE = registerItem("glowood_hoe", + new HoeItem(ModToolMaterials.GLOW_WOOD, new Item.Settings() + .attributeModifiers(HoeItem.createAttributeModifiers(ModToolMaterials.GLOW_WOOD, 0, -3f)))); + + + public static final Item NETHER_SWORD = registerItem("nether_sword", + new SwordItem(ModToolMaterials.NETHERRACK, new Item.Settings() + .attributeModifiers(SwordItem.createAttributeModifiers(ModToolMaterials.NETHERRACK, 3, -2.4f)))); + + public static final Item NETHER_PICKAXE = registerItem("nether_pickaxe", + new PickaxeItem(ModToolMaterials.NETHERRACK, new Item.Settings() + .attributeModifiers(PickaxeItem.createAttributeModifiers(ModToolMaterials.NETHERRACK, 1, -2.8f)))); + + public static final Item NETHER_SHOVEL = registerItem("nether_shovel", + new ShovelItem(ModToolMaterials.NETHERRACK, new Item.Settings() + .attributeModifiers(ShovelItem.createAttributeModifiers(ModToolMaterials.NETHERRACK, 1.5f, -3f)))); + + public static final Item NETHER_AXE = registerItem("nether_axe", + new AxeItem(ModToolMaterials.NETHERRACK, new Item.Settings() + .attributeModifiers(AxeItem.createAttributeModifiers(ModToolMaterials.NETHERRACK, 6, -3.2f)))); + + public static final Item NETHER_HOE = registerItem("nether_hoe", + new HoeItem(ModToolMaterials.NETHERRACK, new Item.Settings() + .attributeModifiers(HoeItem.createAttributeModifiers(ModToolMaterials.NETHERRACK, 0, -3f)))); + + + public static final Item LINIUM_SWORD = registerItem("linium_sword", + new SwordItem(ModToolMaterials.LINIUM, new Item.Settings() + .attributeModifiers(SwordItem.createAttributeModifiers(ModToolMaterials.LINIUM, 3, -2.4f)))); + + public static final Item LINIUM_PICKAXE = registerItem("linium_pickaxe", + new PickaxeItem(ModToolMaterials.LINIUM, new Item.Settings() + .attributeModifiers(PickaxeItem.createAttributeModifiers(ModToolMaterials.LINIUM, 1, -2.8f)))); + + public static final Item LINIUM_SHOVEL = registerItem("linium_shovel", + new ShovelItem(ModToolMaterials.LINIUM, new Item.Settings() + .attributeModifiers(ShovelItem.createAttributeModifiers(ModToolMaterials.LINIUM, 1.5f, -3f)))); + + public static final Item LINIUM_AXE = registerItem("linium_axe", + new AxeItem(ModToolMaterials.LINIUM, new Item.Settings() + .attributeModifiers(AxeItem.createAttributeModifiers(ModToolMaterials.LINIUM, 6, -3.2f)))); + + public static final Item LINIUM_HOE = registerItem("linium_hoe", + new HoeItem(ModToolMaterials.LINIUM, new Item.Settings() + .attributeModifiers(HoeItem.createAttributeModifiers(ModToolMaterials.LINIUM, 0, -3f)))); + + + public static final Item NERIDIUM_SWORD = registerItem("neridium_sword", + new SwordItem(ModToolMaterials.NERIDIUM, new Item.Settings() + .attributeModifiers(SwordItem.createAttributeModifiers(ModToolMaterials.NERIDIUM, 3, -2.4f)))); + + public static final Item NERIDIUM_PICKAXE = registerItem("neridium_pickaxe", + new PickaxeItem(ModToolMaterials.NERIDIUM, new Item.Settings() + .attributeModifiers(PickaxeItem.createAttributeModifiers(ModToolMaterials.NERIDIUM, 1, -2.8f)))); + + public static final Item NERIDIUM_SHOVEL = registerItem("neridium_shovel", + new ShovelItem(ModToolMaterials.NERIDIUM, new Item.Settings() + .attributeModifiers(ShovelItem.createAttributeModifiers(ModToolMaterials.NERIDIUM, 1.5f, -3f)))); + + public static final Item NERIDIUM_AXE = registerItem("neridium_axe", + new AxeItem(ModToolMaterials.NERIDIUM, new Item.Settings() + .attributeModifiers(AxeItem.createAttributeModifiers(ModToolMaterials.NERIDIUM, 6, -3.2f)))); + + public static final Item NERIDIUM_HOE = registerItem("neridium_hoe", + new HoeItem(ModToolMaterials.NERIDIUM, new Item.Settings() + .attributeModifiers(HoeItem.createAttributeModifiers(ModToolMaterials.NERIDIUM, 0, -3f)))); + + + public static final Item PYRIDIUM_SWORD = registerItem("pyridium_sword", + new SwordItem(ModToolMaterials.PYRIDIUM, new Item.Settings() + .attributeModifiers(SwordItem.createAttributeModifiers(ModToolMaterials.PYRIDIUM, 3, -2.4f)))); + + public static final Item PYRIDIUM_PICKAXE = registerItem("pyridium_pickaxe", + new PickaxeItem(ModToolMaterials.PYRIDIUM, new Item.Settings() + .attributeModifiers(PickaxeItem.createAttributeModifiers(ModToolMaterials.PYRIDIUM, 1, -2.8f)))); + + public static final Item PYRIDIUM_SHOVEL = registerItem("pyridium_shovel", + new ShovelItem(ModToolMaterials.PYRIDIUM, new Item.Settings() + .attributeModifiers(ShovelItem.createAttributeModifiers(ModToolMaterials.PYRIDIUM, 1.5f, -3f)))); + + public static final Item PYRIDIUM_AXE = registerItem("pyridium_axe", + new AxeItem(ModToolMaterials.PYRIDIUM, new Item.Settings() + .attributeModifiers(AxeItem.createAttributeModifiers(ModToolMaterials.PYRIDIUM, 6, -3.2f)))); + + public static final Item PYRIDIUM_HOE = registerItem("pyridium_hoe", + new HoeItem(ModToolMaterials.PYRIDIUM, new Item.Settings() + .attributeModifiers(HoeItem.createAttributeModifiers(ModToolMaterials.PYRIDIUM, 0, -3f)))); private static Item registerItem(String name, Item item) { diff --git a/src/main/java/xyz/ibatv/nethercraft/item/ModToolMaterials.java b/src/main/java/xyz/ibatv/nethercraft/item/ModToolMaterials.java new file mode 100644 index 0000000..7fb88fc --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/item/ModToolMaterials.java @@ -0,0 +1,62 @@ +package xyz.ibatv.nethercraft.item; + +import com.google.common.base.Suppliers; +import net.minecraft.block.Block; +import net.minecraft.block.Blocks; +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; +import net.minecraft.registry.tag.BlockTags; +import net.minecraft.registry.tag.TagKey; +import xyz.ibatv.nethercraft.block.ModBlocks; + +import java.util.Objects; +import java.util.function.Supplier; + +public enum ModToolMaterials implements ToolMaterial { + GLOW_WOOD(BlockTags.INCORRECT_FOR_WOODEN_TOOL, 59, 2.0F, 0.0F, 15, () -> Ingredient.ofItems(ModBlocks.GLOWOOD_PLANKS)), + NETHERRACK(BlockTags.INCORRECT_FOR_STONE_TOOL, 131, 4.0F, 1.0F, 5, () -> Ingredient.ofItems(Blocks.NETHERRACK)), + LINIUM(BlockTags.INCORRECT_FOR_STONE_TOOL, 131, 4.0F, 1.0F, 5, () -> Ingredient.ofItems(ModItems.LINIUM_INGOT)), + NERIDIUM(BlockTags.INCORRECT_FOR_DIAMOND_TOOL, 1561, 8.0F, 3.0F, 10, () -> Ingredient.ofItems(ModItems.NERIDIUM_INGOT)), + PYRIDIUM(BlockTags.INCORRECT_FOR_DIAMOND_TOOL, 1561, 8.0F, 3.0F, 10, () -> Ingredient.ofItems(ModItems.PYRIDIUM_INGOT)); + + private final TagKey inverseTag; + private final int itemDurability; + private final float miningSpeed; + private final float attackDamage; + private final int enchantability; + private final Supplier repairIngredient; + + private ModToolMaterials(final TagKey inverseTag, final int itemDurability, final float miningSpeed, final float attackDamage, final int enchantability, final Supplier repairIngredient) { + this.inverseTag = inverseTag; + this.itemDurability = itemDurability; + this.miningSpeed = miningSpeed; + this.attackDamage = attackDamage; + this.enchantability = enchantability; + Objects.requireNonNull(repairIngredient); + this.repairIngredient = Suppliers.memoize(repairIngredient::get); + } + + public int getDurability() { + return this.itemDurability; + } + + public float getMiningSpeedMultiplier() { + return this.miningSpeed; + } + + public float getAttackDamage() { + return this.attackDamage; + } + + public TagKey getInverseTag() { + return this.inverseTag; + } + + public int getEnchantability() { + return this.enchantability; + } + + public Ingredient getRepairIngredient() { + return (Ingredient)this.repairIngredient.get(); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/mixin/CraftingMenuMixin.java b/src/main/java/xyz/ibatv/nethercraft/mixin/CraftingMenuMixin.java new file mode 100644 index 0000000..005e328 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/mixin/CraftingMenuMixin.java @@ -0,0 +1,34 @@ +package xyz.ibatv.nethercraft.mixin; + +import net.minecraft.block.CraftingTableBlock; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.screen.CraftingScreenHandler; +import net.minecraft.screen.ScreenHandlerContext; +import org.spongepowered.asm.mixin.Final; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; + +@Mixin({CraftingScreenHandler.class}) +public abstract class CraftingMenuMixin { + @Shadow + @Final + private ScreenHandlerContext context; + + public CraftingMenuMixin() { + } + + @Inject( + method = {"canUse"}, + at = {@At("HEAD")}, + cancellable = true + ) + private void canUse(PlayerEntity player, CallbackInfoReturnable info) { + if ((Boolean)this.context.get((world, pos) -> world.getBlockState(pos).getBlock() instanceof CraftingTableBlock, true)) { + info.setReturnValue(true); + } + + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/mixin/LivingEntityMixin.java b/src/main/java/xyz/ibatv/nethercraft/mixin/LivingEntityMixin.java new file mode 100644 index 0000000..c0f03a0 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/mixin/LivingEntityMixin.java @@ -0,0 +1,40 @@ +package xyz.ibatv.nethercraft.mixin; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.LadderBlock; +import net.minecraft.block.TrapdoorBlock; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityType; +import net.minecraft.entity.LivingEntity; +import net.minecraft.registry.Registries; +import net.minecraft.registry.tag.TagKey; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Unique; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; +import xyz.ibatv.nethercraft.NethercraftClassic; + +@Mixin(LivingEntity.class) +public abstract class LivingEntityMixin extends Entity { + @Unique + private static final TagKey MAKE_TRAPDOOR_CLIMBABLE_LADDERS = TagKey.of(Registries.BLOCK.getKey(), NethercraftClassic.asId("make_trapdoor_climbable_ladders")); + + public LivingEntityMixin(EntityType type, World world) { + super(type, world); + throw new AssertionError(); + } + + @Inject(method = "canEnterTrapdoor", at = @At("HEAD"), cancellable = true) + private void canEnterTrapdoor(BlockPos pos, BlockState state, CallbackInfoReturnable cir) { + if (state.get(TrapdoorBlock.OPEN)) { + BlockState blockState = getWorld().getBlockState(pos.down()); + cir.setReturnValue(blockState.isIn(MAKE_TRAPDOOR_CLIMBABLE_LADDERS) && blockState.get(LadderBlock.FACING) == state.get(TrapdoorBlock.FACING)); + return; + } + cir.setReturnValue(false); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/world/ModConfiguredFeatures.java b/src/main/java/xyz/ibatv/nethercraft/world/ModConfiguredFeatures.java index ae4caa0..8105e82 100644 --- a/src/main/java/xyz/ibatv/nethercraft/world/ModConfiguredFeatures.java +++ b/src/main/java/xyz/ibatv/nethercraft/world/ModConfiguredFeatures.java @@ -4,12 +4,13 @@ import net.minecraft.block.Blocks; import net.minecraft.registry.Registerable; import net.minecraft.registry.RegistryKey; import net.minecraft.registry.RegistryKeys; +import net.minecraft.registry.tag.BlockTags; +import net.minecraft.structure.rule.RuleTest; +import net.minecraft.structure.rule.TagMatchRuleTest; import net.minecraft.util.Identifier; import net.minecraft.util.math.intprovider.ConstantIntProvider; -import net.minecraft.world.gen.feature.ConfiguredFeature; -import net.minecraft.world.gen.feature.Feature; -import net.minecraft.world.gen.feature.FeatureConfig; -import net.minecraft.world.gen.feature.TreeFeatureConfig; +import net.minecraft.world.gen.blockpredicate.BlockPredicate; +import net.minecraft.world.gen.feature.*; import net.minecraft.world.gen.feature.size.TwoLayersFeatureSize; import net.minecraft.world.gen.foliage.BlobFoliagePlacer; import net.minecraft.world.gen.stateprovider.BlockStateProvider; @@ -17,13 +18,48 @@ import net.minecraft.world.gen.trunk.StraightTrunkPlacer; import xyz.ibatv.nethercraft.NethercraftClassic; import xyz.ibatv.nethercraft.block.ModBlocks; +import java.util.List; + public class ModConfiguredFeatures { - // CF > PF > WG + public static final RegistryKey> FOULITE_ORE_KEY = registerKey("foulite_ore"); + public static final RegistryKey> W_ORE_KEY = registerKey("w_ore"); + public static final RegistryKey> LINIUM_ORE_KEY = registerKey("linium_ore"); + public static final RegistryKey> NERIDIUM_ORE_KEY = registerKey("neridium_ore"); + public static final RegistryKey> PYRIDIUM_ORE_KEY = registerKey("pyridium_ore"); public static final RegistryKey> GLOWOOD_KEY = registerKey("glowood"); + + + public static final RegistryKey> CORRUPTED_TREE = registerKey("corrupted_tree"); + public static final RegistryKey> CORRUPTED_TREE_PLANTED = registerKey("corrupted_tree_planted"); + + public static void bootstrap(Registerable> context) { + RuleTest netherReplaceables = new TagMatchRuleTest(BlockTags.BASE_STONE_NETHER); + + List netherFouliteOres = + List.of(OreFeatureConfig.createTarget(netherReplaceables, ModBlocks.FOULITE_ORE.getDefaultState())); + register(context, FOULITE_ORE_KEY, Feature.ORE, new OreFeatureConfig(netherFouliteOres, 12)); + + List netherWOres = + List.of(OreFeatureConfig.createTarget(netherReplaceables, ModBlocks.W_ORE.getDefaultState())); + register(context, W_ORE_KEY, Feature.ORE, new OreFeatureConfig(netherWOres, 12)); + + List netherLiniumOres = + List.of(OreFeatureConfig.createTarget(netherReplaceables, ModBlocks.LINIUM_ORE.getDefaultState())); + register(context, LINIUM_ORE_KEY, Feature.ORE, new OreFeatureConfig(netherLiniumOres, 12)); + + List netherNeridiumOres = + List.of(OreFeatureConfig.createTarget(netherReplaceables, ModBlocks.NERIDIUM_ORE.getDefaultState())); + register(context, NERIDIUM_ORE_KEY, Feature.ORE, new OreFeatureConfig(netherNeridiumOres, 12)); + + List netherPyridiumOres = + List.of(OreFeatureConfig.createTarget(netherReplaceables, ModBlocks.PYRIDIUM_ORE.getDefaultState())); + register(context, PYRIDIUM_ORE_KEY, Feature.ORE, new OreFeatureConfig(netherPyridiumOres, 12)); + + register(context, GLOWOOD_KEY, Feature.TREE, new TreeFeatureConfig.Builder( BlockStateProvider.of(ModBlocks.GLOWOOD_LOG), new StraightTrunkPlacer(4,2,0), @@ -32,8 +68,32 @@ public class ModConfiguredFeatures { new BlobFoliagePlacer(ConstantIntProvider.create(2), ConstantIntProvider.create(0), 3), new TwoLayersFeatureSize(1, 0, 1)).dirtProvider(BlockStateProvider.of(Blocks.NETHERRACK)).build()); + + BlockPredicate blockPredicate = BlockPredicate.matchingBlocks( + ); + + register(context, CORRUPTED_TREE, Feature.HUGE_FUNGUS, new HugeFungusFeatureConfig( + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + blockPredicate, + false + )); + + register(context, CORRUPTED_TREE_PLANTED, Feature.HUGE_FUNGUS, new HugeFungusFeatureConfig( + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + ModBlocks.NETHER_DIRT.getDefaultState(), + blockPredicate, + true + )); + } + + public static RegistryKey> registerKey(String name) { return RegistryKey.of(RegistryKeys.CONFIGURED_FEATURE, Identifier.of(NethercraftClassic.MOD_ID, name)); } diff --git a/src/main/java/xyz/ibatv/nethercraft/world/ModOrePlacement.java b/src/main/java/xyz/ibatv/nethercraft/world/ModOrePlacement.java new file mode 100644 index 0000000..52a5f4c --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/world/ModOrePlacement.java @@ -0,0 +1,19 @@ +package xyz.ibatv.nethercraft.world; + +import net.minecraft.world.gen.placementmodifier.*; + +import java.util.List; + +public class ModOrePlacement { + public static List modifiers(PlacementModifier countModifier, PlacementModifier heightModifier) { + return List.of(countModifier, SquarePlacementModifier.of(), heightModifier, BiomePlacementModifier.of()); + } + + public static List modifiersWithCount(int count, PlacementModifier heightModifier) { + return modifiers(CountPlacementModifier.of(count), heightModifier); + } + + public static List modifiersWithRarity(int chance, PlacementModifier heightModifier) { + return modifiers(RarityFilterPlacementModifier.of(chance), heightModifier); + } +} \ No newline at end of file diff --git a/src/main/java/xyz/ibatv/nethercraft/world/ModPlacedFeatures.java b/src/main/java/xyz/ibatv/nethercraft/world/ModPlacedFeatures.java index b8c30e2..ed97bad 100644 --- a/src/main/java/xyz/ibatv/nethercraft/world/ModPlacedFeatures.java +++ b/src/main/java/xyz/ibatv/nethercraft/world/ModPlacedFeatures.java @@ -5,20 +5,72 @@ import net.minecraft.registry.RegistryKey; import net.minecraft.registry.RegistryKeys; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.util.Identifier; -import net.minecraft.world.gen.feature.ConfiguredFeature; -import net.minecraft.world.gen.feature.Feature; -import net.minecraft.world.gen.feature.FeatureConfig; -import net.minecraft.world.gen.feature.PlacedFeature; +import net.minecraft.world.gen.YOffset; +import net.minecraft.world.gen.blockpredicate.BlockPredicate; +import net.minecraft.world.gen.feature.*; +import net.minecraft.world.gen.placementmodifier.BlockFilterPlacementModifier; +import net.minecraft.world.gen.placementmodifier.CountMultilayerPlacementModifier; +import net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier; import net.minecraft.world.gen.placementmodifier.PlacementModifier; import xyz.ibatv.nethercraft.NethercraftClassic; +import xyz.ibatv.nethercraft.block.ModBlocks; import java.util.List; public class ModPlacedFeatures { + public static final RegistryKey FOULITE_ORE_PLACED_KEY = registerKey("foulite_ore_placed"); + public static final RegistryKey W_ORE_PLACED_KEY = registerKey("w_ore_placed"); + public static final RegistryKey LINIUM_ORE_PLACED_KEY = registerKey("linium_ore_placed"); + public static final RegistryKey NERIDIUM_ORE_PLACED_KEY = registerKey("neridium_ore_placed"); + public static final RegistryKey PYRIDIUM_ORE_PLACED_KEY = registerKey("pyridium_ore_placed"); + + public static final RegistryKey GLOWOOD_PLACED_KEY = registerKey("glowood_placed"); + + + public static final RegistryKey PLACED_CORRUPTED_TREE = registerKey("corrupted_tree"); + public static final RegistryKey PLACED_CORRUPTED_TREE_PLANTED = registerKey("corrupted_tree_planted"); public static void bootstrap(Registerable context) { var configuredFeatures = context.getRegistryLookup(RegistryKeys.CONFIGURED_FEATURE); + register(context, FOULITE_ORE_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.FOULITE_ORE_KEY), + ModOrePlacement.modifiersWithCount(14, + HeightRangePlacementModifier.uniform(YOffset.fixed(16), YOffset.fixed(110)))); + + register(context, W_ORE_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.W_ORE_KEY), + ModOrePlacement.modifiersWithCount(14, + HeightRangePlacementModifier.uniform(YOffset.fixed(16), YOffset.fixed(110)))); + + register(context, LINIUM_ORE_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.LINIUM_ORE_KEY), + ModOrePlacement.modifiersWithCount(14, + HeightRangePlacementModifier.uniform(YOffset.fixed(16), YOffset.fixed(110)))); + + register(context, NERIDIUM_ORE_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.NERIDIUM_ORE_KEY), + ModOrePlacement.modifiersWithCount(14, + HeightRangePlacementModifier.uniform(YOffset.fixed(16), YOffset.fixed(110)))); + + register(context, PYRIDIUM_ORE_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.PYRIDIUM_ORE_KEY), + ModOrePlacement.modifiersWithCount(14, + HeightRangePlacementModifier.uniform(YOffset.fixed(16), YOffset.fixed(110)))); + + + /*register(context, GLOWOOD_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.GLOWOOD_KEY), + VegetationPlacedFeatures.treeModifiersWithWouldSurvive( + PlacedFeatures.createCountExtraModifier(2, 0.1f, 2), ModBlocks.GLOWOOD_SAPLING));*/ + + + register(context, GLOWOOD_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.GLOWOOD_KEY), + List.of(CountMultilayerPlacementModifier.of(4))); + + //register(context, GLOWOOD_PLACED_KEY, configuredFeatures.getOrThrow(ModConfiguredFeatures.GLOWOOD_KEY), + // VegetationPlacedFeatures.treeModifiersWithWouldSurvive(PlacedFeatures.createCountExtraModifier(2,0.1f,2), ModBlocks.GLOWOOD_SAPLING)); + + register(context, PLACED_CORRUPTED_TREE, configuredFeatures.getOrThrow(ModConfiguredFeatures.CORRUPTED_TREE), + List.of(CountMultilayerPlacementModifier.of(4))); + + register(context, PLACED_CORRUPTED_TREE_PLANTED, configuredFeatures.getOrThrow(ModConfiguredFeatures.CORRUPTED_TREE_PLANTED), + List.of(BlockFilterPlacementModifier.of(BlockPredicate.IS_AIR))); + } public static RegistryKey registerKey(String name) { diff --git a/src/main/java/xyz/ibatv/nethercraft/world/gen/ModOreGeneration.java b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModOreGeneration.java new file mode 100644 index 0000000..378bc83 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModOreGeneration.java @@ -0,0 +1,26 @@ +package xyz.ibatv.nethercraft.world.gen; + +import net.fabricmc.fabric.api.biome.v1.BiomeModification; +import net.fabricmc.fabric.api.biome.v1.BiomeModifications; +import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; +import net.minecraft.world.gen.GenerationStep; +import xyz.ibatv.nethercraft.world.ModPlacedFeatures; + +public class ModOreGeneration { + public static void generateOres () { + BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, + ModPlacedFeatures.FOULITE_ORE_PLACED_KEY); + + BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, + ModPlacedFeatures.W_ORE_PLACED_KEY); + + BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, + ModPlacedFeatures.LINIUM_ORE_PLACED_KEY); + + BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, + ModPlacedFeatures.NERIDIUM_ORE_PLACED_KEY); + + BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, + ModPlacedFeatures.PYRIDIUM_ORE_PLACED_KEY); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/world/gen/ModTreeGeneration.java b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModTreeGeneration.java new file mode 100644 index 0000000..e52ece1 --- /dev/null +++ b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModTreeGeneration.java @@ -0,0 +1,13 @@ +package xyz.ibatv.nethercraft.world.gen; + +import net.fabricmc.fabric.api.biome.v1.BiomeModifications; +import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; +import net.minecraft.world.biome.BiomeKeys; +import net.minecraft.world.gen.GenerationStep; +import xyz.ibatv.nethercraft.world.ModPlacedFeatures; + +public class ModTreeGeneration { + public static void generateTrees(){ + //BiomeModifications.addFeature(BiomeSelectors.includeByKey(BiomeKeys.NETHER_WASTES), GenerationStep.Feature.VEGETAL_DECORATION, ModPlacedFeatures.GLOWOOD_PLACED_KEY); + } +} diff --git a/src/main/java/xyz/ibatv/nethercraft/world/gen/ModWorldGeneration.java b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModWorldGeneration.java index 5546943..22b6a5c 100644 --- a/src/main/java/xyz/ibatv/nethercraft/world/gen/ModWorldGeneration.java +++ b/src/main/java/xyz/ibatv/nethercraft/world/gen/ModWorldGeneration.java @@ -2,7 +2,7 @@ package xyz.ibatv.nethercraft.world.gen; public class ModWorldGeneration { public static void generateModWorldGen() { - - + ModOreGeneration.generateOres(); + ModTreeGeneration.generateTrees(); } } diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/glowood_barrel.json b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_barrel.json new file mode 100644 index 0000000..082c6d2 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_barrel.json @@ -0,0 +1,56 @@ +{ + "variants": { + "facing=down,open=false": { + "model": "nethercraft-classic:block/glowood_barrel", + "x": 180 + }, + "facing=down,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open", + "x": 180 + }, + "facing=east,open=false": { + "model": "nethercraft-classic:block/glowood_barrel", + "x": 90, + "y": 90 + }, + "facing=east,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open", + "x": 90, + "y": 90 + }, + "facing=north,open=false": { + "model": "nethercraft-classic:block/glowood_barrel", + "x": 90 + }, + "facing=north,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open", + "x": 90 + }, + "facing=south,open=false": { + "model": "nethercraft-classic:block/glowood_barrel", + "x": 90, + "y": 180 + }, + "facing=south,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open", + "x": 90, + "y": 180 + }, + "facing=up,open=false": { + "model": "nethercraft-classic:block/glowood_barrel" + }, + "facing=up,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open" + }, + "facing=west,open=false": { + "model": "nethercraft-classic:block/glowood_barrel", + "x": 90, + "y": 270 + }, + "facing=west,open=true": { + "model": "nethercraft-classic:block/glowood_barrel_open", + "x": 90, + "y": 270 + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/glowood_crafting_table.json b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_crafting_table.json new file mode 100644 index 0000000..a721c4a --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_crafting_table.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/glowood_crafting_table" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/glowood_ladder.json b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_ladder.json new file mode 100644 index 0000000..1745942 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/glowood_ladder.json @@ -0,0 +1,19 @@ +{ + "variants": { + "facing=east": { + "model": "nethercraft-classic:block/glowood_ladder", + "y": 90 + }, + "facing=north": { + "model": "nethercraft-classic:block/glowood_ladder" + }, + "facing=south": { + "model": "nethercraft-classic:block/glowood_ladder", + "y": 180 + }, + "facing=west": { + "model": "nethercraft-classic:block/glowood_ladder", + "y": 270 + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/green_glowshroom.json b/src/main/resources/assets/nethercraft-classic/blockstates/green_glowshroom.json new file mode 100644 index 0000000..64e8743 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/green_glowshroom.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/green_glowshroom" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/lava_reeds.json b/src/main/resources/assets/nethercraft-classic/blockstates/lava_reeds.json new file mode 100644 index 0000000..fa97208 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/lava_reeds.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/lava_reeds" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/nether_dirt_farmland.json b/src/main/resources/assets/nethercraft-classic/blockstates/nether_dirt_farmland.json new file mode 100644 index 0000000..247a1d6 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/nether_dirt_farmland.json @@ -0,0 +1,28 @@ +{ + "variants": { + "moisture=0": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=1": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=2": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=3": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=4": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=5": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=6": { + "model": "nethercraft-classic:block/nether_dirt_farmland" + }, + "moisture=7": { + "model": "nethercraft-classic:block/nether_dirt_farmland_moist" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/netherrack_furnace.json b/src/main/resources/assets/nethercraft-classic/blockstates/netherrack_furnace.json new file mode 100644 index 0000000..c23f02c --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/netherrack_furnace.json @@ -0,0 +1,34 @@ +{ + "variants": { + "facing=east,lit=false": { + "model": "nethercraft-classic:block/netherrack_furnace", + "y": 90 + }, + "facing=east,lit=true": { + "model": "nethercraft-classic:block/netherrack_furnace_on", + "y": 90 + }, + "facing=north,lit=false": { + "model": "nethercraft-classic:block/netherrack_furnace" + }, + "facing=north,lit=true": { + "model": "nethercraft-classic:block/netherrack_furnace_on" + }, + "facing=south,lit=false": { + "model": "nethercraft-classic:block/netherrack_furnace", + "y": 180 + }, + "facing=south,lit=true": { + "model": "nethercraft-classic:block/netherrack_furnace_on", + "y": 180 + }, + "facing=west,lit=false": { + "model": "nethercraft-classic:block/netherrack_furnace", + "y": 270 + }, + "facing=west,lit=true": { + "model": "nethercraft-classic:block/netherrack_furnace_on", + "y": 270 + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/blockstates/purple_glowshroom.json b/src/main/resources/assets/nethercraft-classic/blockstates/purple_glowshroom.json new file mode 100644 index 0000000..8c7e270 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/blockstates/purple_glowshroom.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "nethercraft-classic:block/purple_glowshroom" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/lang/en_us.json b/src/main/resources/assets/nethercraft-classic/lang/en_us.json index 8c1c600..465df2f 100644 --- a/src/main/resources/assets/nethercraft-classic/lang/en_us.json +++ b/src/main/resources/assets/nethercraft-classic/lang/en_us.json @@ -4,8 +4,100 @@ "item.nethercraft-classic.netherstick": "Netherstick", + + "item.nethercraft-classic.foulite_dust": "Foulite Dust", + "block.nethercraft-classic.foulite_ore": "Foulite Ore", + + "block.nethercraft-classic.w_ore": "W-Ore", + "item.nethercraft-classic.w_dust": "W-Dust", + + "block.nethercraft-classic.linium_ore": "Linium Ore", + "block.nethercraft-classic.neridium_ore": "Neridium Ore", + "block.nethercraft-classic.pyridium_ore": "Pyridium Ore", + + "block.nethercraft-classic.linium_block": "Block of Linium", + "block.nethercraft-classic.neridium_block": "Block of Neridium", + "block.nethercraft-classic.pyridium_block": "Block of Pyridium", + + + "item.nethercraft-classic.linium_ingot": "Linium Ingot", + "item.nethercraft-classic.neridium_ingot": "Neridium Ingot", + "item.nethercraft-classic.pyridium_ingot": "Pyridium Ingot", + "item.nethercraft-classic.w_ingot": "W-Ingot", + + + "block.nethercraft-classic.glowood_log": "Glowood Log", "block.nethercraft-classic.glowood_leaves": "Glowood Leaves", "block.nethercraft-classic.glowood_planks": "Glowood Planks", - "block.nethercraft-classic.glowood_sapling": "Glowood Sapling" + "block.nethercraft-classic.glowood_sapling": "Glowood Sapling", + "block.nethercraft-classic.glowood_stairs": "Glowood Stairs", + "block.nethercraft-classic.glowood_pressureplate": "Glowood Pressure Plate", + "block.nethercraft-classic.glowood_fence": "Glowood Fence", + "block.nethercraft-classic.glowood_door": "Glowood Door", + "block.nethercraft-classic.glowood_ladder": "Glowood Ladder", + "block.nethercraft-classic.glowood_bookshelf": "Glowood Bookshelf", + "block.nethercraft-classic.glowood_crafting_table": "Glowood Crafting Table", + + "item.nethercraft-classic.glowood_bowl": "Glowood Bowl", + + + + + "block.nethercraft-classic.nether_glass": "Heat Glass", + "block.nethercraft-classic.slow_glass": "Slow Glass", + + + "block.nethercraft-classic.lava_reeds": "Lava Reeds", + "block.nethercraft-classic.green_glowshroom": "Green Glowshroom", + "block.nethercraft-classic.purple_glowshroom": "Purple Glowshroom", + + "block.nethercraft-classic.nether_dirt": "Nether Dirt", + "block.nethercraft-classic.nether_dirt_farmland": "Nether Farmland", + + "item.nethercraft-classic.dark_wheat_seeds": "Nether Wheat Seeds", + "block.nethercraft-classic.dark_wheat_crop": "Nether Wheat Crop", + "item.nethercraft-classic.dark_wheat": "Nether Wheat", + "item.nethercraft-classic.devilbread": "Devil Bread", + "item.nethercraft-classic.glowstew": "Glow Stew", + + + + "block.nethercraft-classic.netherrack_furnace": "Netherrack Furnace", + "container.netherrack_furnace": "Netherrack Furnace", + + + + + + + "item.nethercraft-classic.glowood_pickaxe": "Glowood Pickaxe", + "item.nethercraft-classic.glowood_axe": "Glowood Axe", + "item.nethercraft-classic.glowood_shovel": "Glowood Shovel", + "item.nethercraft-classic.glowood_hoe": "Glowood Hoe", + "item.nethercraft-classic.glowood_sword": "Glowood Sword", + + "item.nethercraft-classic.nether_pickaxe": "Netherrack Pickaxe", + "item.nethercraft-classic.nether_axe": "Netherrack Axe", + "item.nethercraft-classic.nether_shovel": "Netherrack Shovel", + "item.nethercraft-classic.nether_hoe": "Netherrack Hoe", + "item.nethercraft-classic.nether_sword": "Netherrack Sword", + + "item.nethercraft-classic.neridium_pickaxe": "Neridium Pickaxe", + "item.nethercraft-classic.neridium_axe": "Neridium Axe", + "item.nethercraft-classic.neridium_shovel": "Neridium Shovel", + "item.nethercraft-classic.neridium_hoe": "Neridium Hoe", + "item.nethercraft-classic.neridium_sword": "Neridium Sword", + + "item.nethercraft-classic.linium_pickaxe": "Linium Pickaxe", + "item.nethercraft-classic.linium_axe": "Linium Axe", + "item.nethercraft-classic.linium_shovel": "Linium Shovel", + "item.nethercraft-classic.linium_hoe": "Linium Hoe", + "item.nethercraft-classic.linium_sword": "Linium Sword", + + "item.nethercraft-classic.pyridium_pickaxe": "Pyridium Pickaxe", + "item.nethercraft-classic.pyridium_axe": "Pyridium Axe", + "item.nethercraft-classic.pyridium_shovel": "Pyridium Shovel", + "item.nethercraft-classic.pyridium_hoe": "Pyridium Hoe", + "item.nethercraft-classic.pyridium_sword": "Pyridium Sword" } diff --git a/src/main/resources/assets/nethercraft-classic/models/block/2d_ladder.json b/src/main/resources/assets/nethercraft-classic/models/block/2d_ladder.json new file mode 100644 index 0000000..f222a93 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/2d_ladder.json @@ -0,0 +1,18 @@ +{ + "ambientocclusion": false, + "textures": { + "particle": "block/ladder", + "texture": "block/ladder" + }, + "elements": [ + { + "from": [ 0, 0, 15.2 ], + "to": [ 16, 16, 15.2 ], + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel.json b/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel.json new file mode 100644 index 0000000..e376355 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel.json @@ -0,0 +1,9 @@ +{ + "parent": "minecraft:block/cube_bottom_top", + "textures": { + "bottom": "nethercraft-classic:block/glowood_barrel_bottom", + "side": "nethercraft-classic:block/glowood_barrel_side", + "top": "nethercraft-classic:block/glowood_barrel_top", + "particle": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel_open.json b/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel_open.json new file mode 100644 index 0000000..46920d8 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/glowood_barrel_open.json @@ -0,0 +1,9 @@ +{ + "parent": "minecraft:block/cube_bottom_top", + "textures": { + "bottom": "nethercraft-classic:block/glowood_barrel_bottom", + "side": "nethercraft-classic:block/glowood_barrel_side", + "top": "nethercraft-classic:block/glowood_barrel_top_open", + "particle": "nethercraft-classic:block/glowood_planks" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/glowood_crafting_table.json b/src/main/resources/assets/nethercraft-classic/models/block/glowood_crafting_table.json new file mode 100644 index 0000000..07bfb6c --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/glowood_crafting_table.json @@ -0,0 +1,12 @@ +{ + "parent": "minecraft:block/cube", + "textures": { + "down": "nethercraft-classic:block/glowood_planks", + "east": "nethercraft-classic:block/glowood_crafting_table_side", + "north": "nethercraft-classic:block/glowood_crafting_table_front", + "particle": "nethercraft-classic:block/glowood_crafting_table_front", + "south": "nethercraft-classic:block/glowood_crafting_table_side", + "up": "nethercraft-classic:block/glowood_crafting_table_top", + "west": "nethercraft-classic:block/glowood_crafting_table_front" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/glowood_ladder.json b/src/main/resources/assets/nethercraft-classic/models/block/glowood_ladder.json new file mode 100644 index 0000000..36e2b27 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/glowood_ladder.json @@ -0,0 +1,7 @@ +{ + "parent": "nethercraft-classic:block/2d_ladder", + "textures": { + "particle": "nethercraft-classic:block/glowood_ladder", + "texture": "nethercraft-classic:block/glowood_ladder" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/green_glowshroom.json b/src/main/resources/assets/nethercraft-classic/models/block/green_glowshroom.json new file mode 100644 index 0000000..970e378 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/green_glowshroom.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cross", + "textures": { + "cross": "nethercraft-classic:block/green_glowshroom" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/lava_reeds.json b/src/main/resources/assets/nethercraft-classic/models/block/lava_reeds.json new file mode 100644 index 0000000..9bc50dd --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/lava_reeds.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cross", + "textures": { + "cross": "nethercraft-classic:block/lava_reeds" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland.json b/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland.json new file mode 100644 index 0000000..839e001 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/template_farmland", + "textures": { + "dirt": "nethercraft-classic:block/nether_dirt", + "top": "nethercraft-classic:block/nether_dirt_farmland" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland_moist.json b/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland_moist.json new file mode 100644 index 0000000..c470b9e --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/nether_dirt_farmland_moist.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:block/template_farmland", + "textures": { + "dirt": "nethercraft-classic:block/nether_dirt", + "top": "nethercraft-classic:block/nether_dirt_farmland_moist" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace.json b/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace.json new file mode 100644 index 0000000..10083be --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/orientable", + "textures": { + "front": "nethercraft-classic:block/netherrack_furnace_front", + "side": "nethercraft-classic:block/netherrack_furnace_side", + "top": "nethercraft-classic:block/netherrack_furnace_top" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace_on.json b/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace_on.json new file mode 100644 index 0000000..2fc1269 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/netherrack_furnace_on.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/orientable", + "textures": { + "front": "nethercraft-classic:block/netherrack_furnace_front_on", + "side": "nethercraft-classic:block/netherrack_furnace_side", + "top": "nethercraft-classic:block/netherrack_furnace_top" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/block/purple_glowshroom.json b/src/main/resources/assets/nethercraft-classic/models/block/purple_glowshroom.json new file mode 100644 index 0000000..308540f --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/block/purple_glowshroom.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cross", + "textures": { + "cross": "nethercraft-classic:block/purple_glowshroom" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/glowood_barrel.json b/src/main/resources/assets/nethercraft-classic/models/item/glowood_barrel.json new file mode 100644 index 0000000..25998c6 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/glowood_barrel.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_barrel" +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/glowood_crafting_table.json b/src/main/resources/assets/nethercraft-classic/models/item/glowood_crafting_table.json new file mode 100644 index 0000000..f37c24f --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/glowood_crafting_table.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/glowood_crafting_table" +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/glowood_ladder.json b/src/main/resources/assets/nethercraft-classic/models/item/glowood_ladder.json new file mode 100644 index 0000000..483dbeb --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/glowood_ladder.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:block/glowood_ladder" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/green_glowshroom.json b/src/main/resources/assets/nethercraft-classic/models/item/green_glowshroom.json new file mode 100644 index 0000000..747f9c8 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/green_glowshroom.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/green_glowshroom" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/lava_reeds.json b/src/main/resources/assets/nethercraft-classic/models/item/lava_reeds.json new file mode 100644 index 0000000..63b7493 --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/lava_reeds.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/lava_reeds" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/nether_dirt_farmland.json b/src/main/resources/assets/nethercraft-classic/models/item/nether_dirt_farmland.json new file mode 100644 index 0000000..96362bd --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/nether_dirt_farmland.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/nether_dirt_farmland" +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/netherrack_furnace.json b/src/main/resources/assets/nethercraft-classic/models/item/netherrack_furnace.json new file mode 100644 index 0000000..c6d4cca --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/netherrack_furnace.json @@ -0,0 +1,3 @@ +{ + "parent": "nethercraft-classic:block/netherrack_furnace" +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/models/item/purple_glowshroom.json b/src/main/resources/assets/nethercraft-classic/models/item/purple_glowshroom.json new file mode 100644 index 0000000..8ca661a --- /dev/null +++ b/src/main/resources/assets/nethercraft-classic/models/item/purple_glowshroom.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "nethercraft-classic:item/purple_glowshroom" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_0.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage0.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_0.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage0.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_1.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage1.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_1.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage1.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_2.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage2.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_2.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage2.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_3.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage3.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_3.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage3.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_4.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage4.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_4.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage4.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_5.png b/src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage5.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_5.png rename to src/main/resources/assets/nethercraft-classic/textures/block/dark_wheat_crop_stage5.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/foulite_ore.png b/src/main/resources/assets/nethercraft-classic/textures/block/foulite_ore.png new file mode 100644 index 0000000..489490b Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/foulite_ore.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_bottom.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_bottom.png new file mode 100644 index 0000000..07110e8 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_bottom.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_side.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_side.png new file mode 100644 index 0000000..9f8106e Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_side.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top.png new file mode 100644 index 0000000..d2ed18a Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top_open.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top_open.png new file mode 100644 index 0000000..d2ed18a Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_barrel_top_open.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_front.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_front.png new file mode 100644 index 0000000..5711553 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_front.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_main.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_main.png deleted file mode 100644 index 93cbe6c..0000000 Binary files a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_main.png and /dev/null differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_side.png b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_side.png index 5711553..93cbe6c 100644 Binary files a/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_side.png and b/src/main/resources/assets/nethercraft-classic/textures/block/glowood_crafting_table_side.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/liniumblock.png b/src/main/resources/assets/nethercraft-classic/textures/block/linium_block.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/liniumblock.png rename to src/main/resources/assets/nethercraft-classic/textures/block/linium_block.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/linium_ore.png b/src/main/resources/assets/nethercraft-classic/textures/block/linium_ore.png new file mode 100644 index 0000000..367978d Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/linium_ore.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/neridiumblock.png b/src/main/resources/assets/nethercraft-classic/textures/block/neridium_block.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/neridiumblock.png rename to src/main/resources/assets/nethercraft-classic/textures/block/neridium_block.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/neridium_ore.png b/src/main/resources/assets/nethercraft-classic/textures/block/neridium_ore.png new file mode 100644 index 0000000..38a6f39 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/neridium_ore.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/nether_farmland.png b/src/main/resources/assets/nethercraft-classic/textures/block/nether_dirt_farmland.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/nether_farmland.png rename to src/main/resources/assets/nethercraft-classic/textures/block/nether_dirt_farmland.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/nether_dirt_farmland_moist.png b/src/main/resources/assets/nethercraft-classic/textures/block/nether_dirt_farmland_moist.png new file mode 100644 index 0000000..3436258 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/nether_dirt_farmland_moist.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/netherrack.png b/src/main/resources/assets/nethercraft-classic/textures/block/netherrack.png index 1965908..27a3143 100644 Binary files a/src/main/resources/assets/nethercraft-classic/textures/block/netherrack.png and b/src/main/resources/assets/nethercraft-classic/textures/block/netherrack.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/oldnetherrack.png b/src/main/resources/assets/nethercraft-classic/textures/block/oldnetherrack.png new file mode 100644 index 0000000..1965908 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/oldnetherrack.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/purpleshroom.png b/src/main/resources/assets/nethercraft-classic/textures/block/purple_glowshroom.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/purpleshroom.png rename to src/main/resources/assets/nethercraft-classic/textures/block/purple_glowshroom.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/pyridiumblock.png b/src/main/resources/assets/nethercraft-classic/textures/block/pyridium_block.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/pyridiumblock.png rename to src/main/resources/assets/nethercraft-classic/textures/block/pyridium_block.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/pyridium_ore.png b/src/main/resources/assets/nethercraft-classic/textures/block/pyridium_ore.png new file mode 100644 index 0000000..1ab6245 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/pyridium_ore.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/w_ore.png b/src/main/resources/assets/nethercraft-classic/textures/block/w_ore.png new file mode 100644 index 0000000..f57d0ef Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/block/w_ore.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwheat.png b/src/main/resources/assets/nethercraft-classic/textures/item/dark_wheat.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwheat.png rename to src/main/resources/assets/nethercraft-classic/textures/item/dark_wheat.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherseeds.png b/src/main/resources/assets/nethercraft-classic/textures/item/dark_wheat_seeds.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherseeds.png rename to src/main/resources/assets/nethercraft-classic/textures/item/dark_wheat_seeds.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/foulitedust.png b/src/main/resources/assets/nethercraft-classic/textures/item/foulite_dust.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/foulitedust.png rename to src/main/resources/assets/nethercraft-classic/textures/item/foulite_dust.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwoodaxe.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_axe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwoodaxe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_axe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherbowl.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_bowl.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherbowl.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_bowl.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/dooritem.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_door.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/dooritem.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_door.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwoodhoe.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_hoe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwoodhoe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_hoe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwoodpick.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_pickaxe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwoodpick.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_pickaxe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwoodshovel.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_shovel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwoodshovel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_shovel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherwoodsword.png b/src/main/resources/assets/nethercraft-classic/textures/item/glowood_sword.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherwoodsword.png rename to src/main/resources/assets/nethercraft-classic/textures/item/glowood_sword.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/green_glowshroom.png b/src/main/resources/assets/nethercraft-classic/textures/item/green_glowshroom.png new file mode 100644 index 0000000..e8ec654 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/item/green_glowshroom.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/impskin.png b/src/main/resources/assets/nethercraft-classic/textures/item/imp_skin.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/impskin.png rename to src/main/resources/assets/nethercraft-classic/textures/item/imp_skin.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/book.png b/src/main/resources/assets/nethercraft-classic/textures/item/lava_book.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/book.png rename to src/main/resources/assets/nethercraft-classic/textures/item/lava_book.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/paper.png b/src/main/resources/assets/nethercraft-classic/textures/item/lava_paper.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/paper.png rename to src/main/resources/assets/nethercraft-classic/textures/item/lava_paper.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherreeditem.png b/src/main/resources/assets/nethercraft-classic/textures/item/lava_reeds.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherreeditem.png rename to src/main/resources/assets/nethercraft-classic/textures/item/lava_reeds.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumaxe.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_axe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumaxe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_axe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumhoe.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_hoe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumhoe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_hoe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumingot.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_ingot.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumingot.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_ingot.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumpick.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_pickaxe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumpick.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_pickaxe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumshovel.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_shovel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumshovel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_shovel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/liniumsword.png b/src/main/resources/assets/nethercraft-classic/textures/item/linium_sword.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/liniumsword.png rename to src/main/resources/assets/nethercraft-classic/textures/item/linium_sword.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/magmacaramel.png b/src/main/resources/assets/nethercraft-classic/textures/item/magma_caramel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/magmacaramel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/magma_caramel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumaxe.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_axe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumaxe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_axe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumbucket.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_bucket.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumbucket.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_bucket.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumhoe.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_hoe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumhoe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_hoe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumingot.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_ingot.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumingot.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_ingot.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumlava.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_lava_bucket.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumlava.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_lava_bucket.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/fandn.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_lighter.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/fandn.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_lighter.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumpick.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_pickaxe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumpick.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_pickaxe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumshovel.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_shovel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumshovel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_shovel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/neridiumsword.png b/src/main/resources/assets/nethercraft-classic/textures/item/neridium_sword.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/neridiumsword.png rename to src/main/resources/assets/nethercraft-classic/textures/item/neridium_sword.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netheraxe.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_axe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netheraxe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_axe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherhoe.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_hoe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherhoe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_hoe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/npainting.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_painting.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/npainting.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_painting.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/netherpick.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_pickaxe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/netherpick.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_pickaxe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/nethershovel.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_shovel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/nethershovel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_shovel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/nethersword.png b/src/main/resources/assets/nethercraft-classic/textures/item/nether_sword.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/nethersword.png rename to src/main/resources/assets/nethercraft-classic/textures/item/nether_sword.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/purple_glowshroom.png b/src/main/resources/assets/nethercraft-classic/textures/item/purple_glowshroom.png new file mode 100644 index 0000000..20e69f2 Binary files /dev/null and b/src/main/resources/assets/nethercraft-classic/textures/item/purple_glowshroom.png differ diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumaxe.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_axe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumaxe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_axe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumhoe.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_hoe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumhoe.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_hoe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumingot.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_ingot.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumingot.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_ingot.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumpick.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_pickaxe.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumpick.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_pickaxe.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumshovel.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_shovel.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumshovel.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_shovel.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/pyridiumsword.png b/src/main/resources/assets/nethercraft-classic/textures/item/pyridium_sword.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/pyridiumsword.png rename to src/main/resources/assets/nethercraft-classic/textures/item/pyridium_sword.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/wdust.png b/src/main/resources/assets/nethercraft-classic/textures/item/w_dust.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/wdust.png rename to src/main/resources/assets/nethercraft-classic/textures/item/w_dust.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/item/wingot.png b/src/main/resources/assets/nethercraft-classic/textures/item/w_ingot.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/item/wingot.png rename to src/main/resources/assets/nethercraft-classic/textures/item/w_ingot.png diff --git a/src/main/resources/data/minecraft/dimension/the_nether.json b/src/main/resources/data/minecraft/dimension/the_nether.json new file mode 100644 index 0000000..f69392a --- /dev/null +++ b/src/main/resources/data/minecraft/dimension/the_nether.json @@ -0,0 +1,84 @@ +{ + "type": "minecraft:the_nether", + "generator": { + "type": "minecraft:noise", + "settings": "minecraft:nether", + "biome_source": { + "type": "minecraft:multi_noise", + "biomes": [ + { + "biome": "nethercraft-classic:glowood_forest", + "parameters": { + "temperature": 0, + "humidity": 0.05, + "continentalness": 0, + "erosion": 0, + "weirdness": 0.07, + "depth": 0, + "offset": 0.05 + } + }, + { + "biome": "minecraft:nether_wastes", + "parameters": { + "temperature": 0, + "humidity": 0, + "continentalness": 0, + "erosion": 0, + "weirdness": 0, + "depth": 0, + "offset": 0 + } + }, + { + "biome": "minecraft:soul_sand_valley", + "parameters": { + "temperature": 0, + "humidity": -0.5, + "continentalness": 0, + "erosion": 0, + "weirdness": 0, + "depth": 0, + "offset": 0 + } + }, + { + "biome": "minecraft:crimson_forest", + "parameters": { + "temperature": 0.4, + "humidity": 0, + "continentalness": 0, + "erosion": 0, + "weirdness": 0, + "depth": 0, + "offset": 0 + } + }, + { + "biome": "minecraft:warped_forest", + "parameters": { + "temperature": 0, + "humidity": 0.5, + "continentalness": 0, + "erosion": 0, + "weirdness": 0, + "depth": 0, + "offset": 0.375 + } + }, + { + "biome": "minecraft:basalt_deltas", + "parameters": { + "temperature": -0.5, + "humidity": 0, + "continentalness": 0, + "erosion": 0, + "weirdness": 0, + "depth": 0, + "offset": 0.175 + } + } + ] + } + } +} diff --git a/src/main/resources/data/minecraft/worldgen/noise_settings/nether.json b/src/main/resources/data/minecraft/worldgen/noise_settings/nether.json new file mode 100644 index 0000000..812a5f0 --- /dev/null +++ b/src/main/resources/data/minecraft/worldgen/noise_settings/nether.json @@ -0,0 +1,795 @@ +{ + "sea_level": 32, + "disable_mob_generation": false, + "aquifers_enabled": false, + "ore_veins_enabled": false, + "legacy_random_source": true, + "default_block": { + "Name": "minecraft:netherrack" + }, + "default_fluid": { + "Name": "minecraft:lava", + "Properties": { + "level": "0" + } + }, + "noise": { + "min_y": 0, + "height": 128, + "size_horizontal": 1, + "size_vertical": 2 + }, + "noise_router": { + "barrier": 0, + "fluid_level_floodedness": 0, + "fluid_level_spread": 0, + "lava": 0, + "temperature": { + "type": "minecraft:shifted_noise", + "noise": "minecraft:temperature", + "xz_scale": 0.25, + "y_scale": 0, + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z" + }, + "vegetation": { + "type": "minecraft:shifted_noise", + "noise": "minecraft:vegetation", + "xz_scale": 0.25, + "y_scale": 0, + "shift_x": "minecraft:shift_x", + "shift_y": 0, + "shift_z": "minecraft:shift_z" + }, + "continents": 0, + "erosion": 0, + "depth": 0, + "ridges": 0, + "initial_density_without_jaggedness": 0, + "final_density": { + "type": "minecraft:squeeze", + "argument": { + "type": "minecraft:mul", + "argument1": 0.64, + "argument2": { + "type": "minecraft:interpolated", + "argument": { + "type": "minecraft:blend_density", + "argument": { + "type": "minecraft:add", + "argument1": 2.5, + "argument2": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:y_clamped_gradient", + "from_y": -8, + "to_y": 24, + "from_value": 0, + "to_value": 1 + }, + "argument2": { + "type": "minecraft:add", + "argument1": -2.5, + "argument2": { + "type": "minecraft:add", + "argument1": 0.9375, + "argument2": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:y_clamped_gradient", + "from_y": 104, + "to_y": 128, + "from_value": 1, + "to_value": 0 + }, + "argument2": { + "type": "minecraft:add", + "argument1": -0.9375, + "argument2": "minecraft:nether/base_3d_noise" + } + } + } + } + } + } + } + } + } + }, + "vein_toggle": 0, + "vein_ridged": 0, + "vein_gap": 0 + }, + "spawn_target": [], + "surface_rule": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:vertical_gradient", + "random_name": "minecraft:bedrock_floor", + "true_at_and_below": { + "above_bottom": 0 + }, + "false_at_and_above": { + "above_bottom": 5 + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:bedrock" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:vertical_gradient", + "random_name": "minecraft:bedrock_roof", + "true_at_and_below": { + "below_top": 5 + }, + "false_at_and_above": { + "below_top": 0 + } + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:bedrock" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "below_top": 5 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:netherrack" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "minecraft:basalt_deltas" + ] + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": true, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:basalt", + "Properties": { + "axis": "y" + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "floor", + "add_surface_depth": true, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:patch", + "min_threshold": -0.012, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 30 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 35 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:gravel" + } + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_state_selector", + "min_threshold": 0, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:basalt", + "Properties": { + "axis": "y" + } + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:blackstone" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "minecraft:soul_sand_valley" + ] + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "ceiling", + "add_surface_depth": true, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_state_selector", + "min_threshold": 0, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:soul_sand" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:soul_soil" + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "floor", + "add_surface_depth": true, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:patch", + "min_threshold": -0.012, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 30 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 35 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:gravel" + } + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_state_selector", + "min_threshold": 0, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:soul_sand" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:soul_soil" + } + } + ] + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "floor", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 32 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:hole" + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:lava", + "Properties": { + "level": "0" + } + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "minecraft:warped_forest" + ] + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:netherrack", + "min_threshold": 0.54, + "max_threshold": 1.7976931348623157e+308 + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 31 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_wart", + "min_threshold": 1.17, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:warped_wart_block" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:warped_nylium" + } + } + ] + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "nethercraft-classic:glowood_forest" + ] + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:netherrack", + "min_threshold": 0.54, + "max_threshold": 1.7976931348623157e+308 + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 31 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_wart", + "min_threshold": 1.17, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "nethercraft-classic:nether_dirt" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "nethercraft-classic:nether_dirt" + } + } + ] + } + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "minecraft:crimson_forest" + ] + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:netherrack", + "min_threshold": 0.54, + "max_threshold": 1.7976931348623157e+308 + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 31 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:nether_wart", + "min_threshold": 1.17, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:nether_wart_block" + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:crimson_nylium" + } + } + ] + } + } + } + } + ] + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:biome", + "biome_is": [ + "minecraft:nether_wastes" + ] + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "floor", + "add_surface_depth": true, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:soul_sand_layer", + "min_threshold": -0.012, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:hole" + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 30 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 35 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:soul_sand" + } + } + } + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:netherrack" + } + } + ] + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:stone_depth", + "offset": 0, + "surface_type": "floor", + "add_surface_depth": false, + "secondary_depth_range": 0 + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 31 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 35 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": true + } + }, + "then_run": { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:noise_threshold", + "noise": "minecraft:gravel_layer", + "min_threshold": -0.012, + "max_threshold": 1.7976931348623157e+308 + }, + "then_run": { + "type": "minecraft:sequence", + "sequence": [ + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:y_above", + "anchor": { + "absolute": 32 + }, + "surface_depth_multiplier": 0, + "add_stone_depth": false + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:gravel" + } + } + }, + { + "type": "minecraft:condition", + "if_true": { + "type": "minecraft:not", + "invert": { + "type": "minecraft:hole" + } + }, + "then_run": { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:gravel" + } + } + } + ] + } + } + } + } + } + ] + } + }, + { + "type": "minecraft:block", + "result_state": { + "Name": "minecraft:netherrack" + } + } + ] + } +} diff --git a/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_blasting.json b/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_blasting.json new file mode 100644 index 0000000..fa3e98e --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_blasting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:blasting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "linium_ingot", + "ingredient": { + "item": "nethercraft-classic:linium_ore" + }, + "result": { + "id": "nethercraft-classic:linium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_smelting.json b/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_smelting.json new file mode 100644 index 0000000..c31da1c --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/linium_ingot_from_smelting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "linium_ingot", + "ingredient": { + "item": "nethercraft-classic:linium_ore" + }, + "result": { + "id": "nethercraft-classic:linium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_blasting.json b/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_blasting.json new file mode 100644 index 0000000..be75aea --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_blasting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:blasting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "neridium_ingot", + "ingredient": { + "item": "nethercraft-classic:neridium_ore" + }, + "result": { + "id": "nethercraft-classic:neridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_smelting.json b/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_smelting.json new file mode 100644 index 0000000..c841fe2 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/neridium_ingot_from_smelting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "neridium_ingot", + "ingredient": { + "item": "nethercraft-classic:neridium_ore" + }, + "result": { + "id": "nethercraft-classic:neridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_blasting.json b/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_blasting.json new file mode 100644 index 0000000..2cc0c33 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_blasting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:blasting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "nether_glass", + "ingredient": { + "item": "nethercraft-classic:heat_sand" + }, + "result": { + "id": "nethercraft-classic:nether_glass" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_smelting.json b/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_smelting.json new file mode 100644 index 0000000..ef8cf46 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/nether_glass_from_smelting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "nether_glass", + "ingredient": { + "item": "nethercraft-classic:heat_sand" + }, + "result": { + "id": "nethercraft-classic:nether_glass" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_blasting.json b/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_blasting.json new file mode 100644 index 0000000..8e6856c --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_blasting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:blasting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "pyridium_ingot", + "ingredient": { + "item": "nethercraft-classic:pyridium_ore" + }, + "result": { + "id": "nethercraft-classic:pyridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_smelting.json b/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_smelting.json new file mode 100644 index 0000000..97c41c8 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/pyridium_ingot_from_smelting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "pyridium_ingot", + "ingredient": { + "item": "nethercraft-classic:pyridium_ore" + }, + "result": { + "id": "nethercraft-classic:pyridium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_blasting.json b/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_blasting.json new file mode 100644 index 0000000..c9ea551 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_blasting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:blasting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "slow_glass", + "ingredient": { + "item": "minecraft:soul_sand" + }, + "result": { + "id": "nethercraft-classic:slow_glass" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_smelting.json b/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_smelting.json new file mode 100644 index 0000000..3263d2e --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/recipe/slow_glass_from_smelting.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.7, + "group": "slow_glass", + "ingredient": { + "item": "minecraft:soul_sand" + }, + "result": { + "id": "nethercraft-classic:slow_glass" + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/tags/block/make_trapdoor_climbable_ladders.json b/src/main/resources/data/nethercraft-classic/tags/block/make_trapdoor_climbable_ladders.json new file mode 100644 index 0000000..9acb97d --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/tags/block/make_trapdoor_climbable_ladders.json @@ -0,0 +1,6 @@ +{ + "values": [ + "minecraft:ladder", + "nethercraft-classic:glowood_ladder" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/worldgen/biome/glowood_forest.json b/src/main/resources/data/nethercraft-classic/worldgen/biome/glowood_forest.json new file mode 100644 index 0000000..5f0bd72 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/worldgen/biome/glowood_forest.json @@ -0,0 +1,84 @@ +{ + "temperature": 2, + "downfall": 0, + "has_precipitation": false, + "effects": { + "sky_color": 7254527, + "fog_color": 330808, + "water_color": 4159204, + "water_fog_color": 329011, + "ambient_sound": "minecraft:ambient.nether_wastes.loop", + "mood_sound": { + "sound": "minecraft:ambient.nether_wastes.mood", + "tick_delay": 6000, + "block_search_extent": 8, + "offset": 2 + }, + "additions_sound": { + "sound": "minecraft:ambient.nether_wastes.additions", + "tick_chance": 0.0111 + }, + "music": { + "sound": "minecraft:music.nether.nether_wastes", + "min_delay": 12000, + "max_delay": 24000, + "replace_current_music": false + } + }, + "spawners": { + "ambient": [], + "axolotls": [], + "creature": [], + "misc": [], + "monster": [ + { + "type": "minecraft:zombified_piglin", + "weight": 1, + "minCount": 2, + "maxCount": 4 + }, + { + "type": "minecraft:enderman", + "weight": 1, + "minCount": 2, + "maxCount": 4 + } + ], + "underground_water_creature": [], + "water_ambient": [], + "water_creature": [] + }, + "spawn_costs": { + "minecraft:enderman": { + "energy_budget": 0.12, + "charge": 1 + } + }, + "carvers": { + "air": "minecraft:nether_cave" + }, + "features": [ + [], + [], + [], + [], + [], + [], + [], + [ + "minecraft:patch_fire", + "minecraft:glowstone_extra", + "minecraft:glowstone", + "minecraft:ore_magma", + "nethercraft-classic:ore_heat_sand", + "minecraft:ore_gold_nether", + "minecraft:ore_quartz_nether", + "minecraft:ore_ancient_debris_large", + "minecraft:ore_debris_small" + ], + [], + [ + "nethercraft-classic:glowood_placed" + ] + ] +} diff --git a/src/main/resources/data/nethercraft-classic/worldgen/configured_feature/ore_heat_sand.json b/src/main/resources/data/nethercraft-classic/worldgen/configured_feature/ore_heat_sand.json new file mode 100644 index 0000000..c4f3ba5 --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/worldgen/configured_feature/ore_heat_sand.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 33, + "targets": [ + { + "state": { + "Name": "nethercraft-classic:heat_sand" + }, + "target": { + "block": "minecraft:netherrack", + "predicate_type": "minecraft:block_match" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/nethercraft-classic/worldgen/placed_feature/ore_heat_sand.json b/src/main/resources/data/nethercraft-classic/worldgen/placed_feature/ore_heat_sand.json new file mode 100644 index 0000000..d2ebffa --- /dev/null +++ b/src/main/resources/data/nethercraft-classic/worldgen/placed_feature/ore_heat_sand.json @@ -0,0 +1,27 @@ +{ + "feature": "nethercraft-classic:ore_heat_sand", + "placement": [ + { + "type": "minecraft:count", + "count": 2 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:uniform", + "max_inclusive": { + "absolute": 41 + }, + "min_inclusive": { + "absolute": 5 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 331d694..58648a2 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,8 +34,5 @@ "minecraft": "~1.21.1", "java": ">=21", "fabric-api": "*" - }, - "suggests": { - "another-mod": "*" } } \ No newline at end of file diff --git a/src/main/resources/nethercraft-classic.mixins.json b/src/main/resources/nethercraft-classic.mixins.json index 438ecb1..fdd6d1c 100644 --- a/src/main/resources/nethercraft-classic.mixins.json +++ b/src/main/resources/nethercraft-classic.mixins.json @@ -1,11 +1,13 @@ { - "required": true, - "package": "xyz.ibatv.nethercraft.mixin", - "compatibilityLevel": "JAVA_21", - "mixins": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 + "required": true, + "package": "xyz.ibatv.nethercraft.mixin", + "compatibilityLevel": "JAVA_21", + "mixins": [ + "CraftingMenuMixin", + "ExampleMixin", + "LivingEntityMixin" + ], + "injectors": { + "defaultRequire": 1 } } \ No newline at end of file diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/ore_foulite.png b/src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/foulite_ore.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/ore_foulite.png rename to src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/foulite_ore.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/ore_linium.png b/src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/linium_ore.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/ore_linium.png rename to src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/linium_ore.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/ore_neridium.png b/src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/neridium_ore.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/ore_neridium.png rename to src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/neridium_ore.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/ore_pyridium.png b/src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/pyridium_ore.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/ore_pyridium.png rename to src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/pyridium_ore.png diff --git a/src/main/resources/assets/nethercraft-classic/textures/block/ore_w.png b/src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/w_ore.png similarity index 100% rename from src/main/resources/assets/nethercraft-classic/textures/block/ore_w.png rename to src/main/resources/packs/Classic_Textures/assets/nethercraft-classic/textures/block/w_ore.png diff --git a/src/main/resources/packs/Classic_Textures/pack.mcmeta b/src/main/resources/packs/Classic_Textures/pack.mcmeta new file mode 100644 index 0000000..d776cb9 --- /dev/null +++ b/src/main/resources/packs/Classic_Textures/pack.mcmeta @@ -0,0 +1,7 @@ +{ + "pack": { + "pack_format": 34, + "supported_formats":[0,99], + "description": "Classic Nethercraft Textures" + } +} \ No newline at end of file