diff --git a/src/main/java/net/saishovibes/back_in_classic/Back_In_Classic_Client.java b/src/main/java/net/saishovibes/back_in_classic/Back_In_Classic_Client.java new file mode 100644 index 0000000..b3a76fd --- /dev/null +++ b/src/main/java/net/saishovibes/back_in_classic/Back_In_Classic_Client.java @@ -0,0 +1,16 @@ +package net.saishovibes.back_in_classic; + +import net.fabricmc.api.ClientModInitializer; +import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; +import net.minecraft.client.render.RenderLayer; +import net.saishovibes.back_in_classic.registry.back_in_classic_blocks; +import net.saishovibes.back_in_classic.registry.back_in_classic_items; + +public class Back_In_Classic_Client implements ClientModInitializer { + public void onInitializeClient() { + BlockRenderLayerMap.INSTANCE.putBlock(back_in_classic_blocks.BLUE_ROSE, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(back_in_classic_blocks.RED_ROSE, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(back_in_classic_blocks.PAEONIA, RenderLayer.getCutout()); + BlockRenderLayerMap.INSTANCE.putBlock(back_in_classic_blocks.SHRUB, RenderLayer.getCutout()); + } +} diff --git a/src/main/java/net/saishovibes/back_in_classic/registry/back_in_classic_blocks.java b/src/main/java/net/saishovibes/back_in_classic/registry/back_in_classic_blocks.java index b14f736..fdbcd7c 100644 --- a/src/main/java/net/saishovibes/back_in_classic/registry/back_in_classic_blocks.java +++ b/src/main/java/net/saishovibes/back_in_classic/registry/back_in_classic_blocks.java @@ -15,25 +15,25 @@ public interface back_in_classic_blocks { Map BLOCKS = new LinkedHashMap<>(); //BLOCKS - Block WAX_BLOCK = register(new Identifier(Back_In_Classic.MODID, "wax_block"), new Block(FabricBlockSettings.copyOf(Blocks.HONEYCOMB_BLOCK).nonOpaque())); - Block CLASSIC_NETHER_PORTAL = register(new Identifier(Back_In_Classic.MODID, "classic_nether_portal"), new Block(FabricBlockSettings.copyOf(Blocks.HONEYCOMB_BLOCK).nonOpaque())); - Block COGWHEEL = register(new Identifier(Back_In_Classic.MODID, "cogwheel"), new Block(FabricBlockSettings.copyOf(Blocks.REDSTONE_BLOCK).nonOpaque())); - Block DIRT_SLAB = register(new Identifier(Back_In_Classic.MODID, "dirt_slab"), new Block(FabricBlockSettings.copyOf(Blocks.PETRIFIED_OAK_SLAB).nonOpaque())); + Block WAX_BLOCK = register(new Identifier(Back_In_Classic.MODID, "wax_block"), new SlimeBlock(FabricBlockSettings.copyOf(Blocks.HONEYCOMB_BLOCK))); + Block CLASSIC_NETHER_PORTAL = register(new Identifier(Back_In_Classic.MODID, "classic_nether_portal"), new Block(FabricBlockSettings.copyOf(Blocks.HONEYCOMB_BLOCK).luminance(9))); + Block COGWHEEL = register(new Identifier(Back_In_Classic.MODID, "cogwheel"), new Block(FabricBlockSettings.copyOf(Blocks.REDSTONE_BLOCK))); + Block DIRT_SLAB = register(new Identifier(Back_In_Classic.MODID, "dirt_slab"), new SlabBlock(FabricBlockSettings.copyOf(Blocks.PETRIFIED_OAK_SLAB).nonOpaque())); Block GEAR = register(new Identifier(Back_In_Classic.MODID, "gear"), new Block(FabricBlockSettings.copyOf(Blocks.REDSTONE_WIRE).nonOpaque())); - Block GLOWING_OBSIDIAN = register(new Identifier(Back_In_Classic.MODID, "glowing_obsidian"), new Block(FabricBlockSettings.copyOf(Blocks.OBSIDIAN).nonOpaque())); + Block GLOWING_OBSIDIAN = register(new Identifier(Back_In_Classic.MODID, "glowing_obsidian"), new Block(FabricBlockSettings.copyOf(Blocks.OBSIDIAN).luminance(10))); Block INF_LAVA = register(new Identifier(Back_In_Classic.MODID, "infinite_lava"), new Block(FabricBlockSettings.copyOf(Blocks.LAVA).nonOpaque())); Block INF_WATER = register(new Identifier(Back_In_Classic.MODID, "infinite_water"), new Block(FabricBlockSettings.copyOf(Blocks.WATER).nonOpaque())); Block REV_GEAR = register(new Identifier(Back_In_Classic.MODID, "inverse_gear"), new Block(FabricBlockSettings.copyOf(Blocks.REDSTONE_WIRE).nonOpaque())); - Block NETHER_REACTOR = register(new Identifier(Back_In_Classic.MODID, "nether_reactor_core"), new Block(FabricBlockSettings.copyOf(Blocks.GLOWSTONE).nonOpaque())); - Block SOD_BLOCK = register(new Identifier(Back_In_Classic.MODID, "sod_block"), new Block(FabricBlockSettings.copyOf(Blocks.MOSS_BLOCK).nonOpaque())); - Block SOD_SLAB = register(new Identifier(Back_In_Classic.MODID, "sod_slab"), new Block(FabricBlockSettings.copyOf(Blocks.OAK_SLAB).nonOpaque())); - Block CRUSHED_GRAVEL = register(new Identifier(Back_In_Classic.MODID, "crushed_gravel"), new Block(FabricBlockSettings.copyOf(Blocks.GRAVEL).nonOpaque())); + Block NETHER_REACTOR = register(new Identifier(Back_In_Classic.MODID, "nether_reactor_core"), new Block(FabricBlockSettings.copyOf(Blocks.GLOWSTONE).luminance(12))); + Block SOD_BLOCK = register(new Identifier(Back_In_Classic.MODID, "sod_block"), new Block(FabricBlockSettings.copyOf(Blocks.MOSS_BLOCK))); + Block SOD_SLAB = register(new Identifier(Back_In_Classic.MODID, "sod_slab"), new SlabBlock(FabricBlockSettings.copyOf(Blocks.OAK_SLAB).nonOpaque())); + Block CRUSHED_GRAVEL = register(new Identifier(Back_In_Classic.MODID, "crushed_gravel"), new FallingBlock(FabricBlockSettings.copyOf(Blocks.GRAVEL))); //PLANTS - Block BLUE_ROSE = register(new Identifier(Back_In_Classic.MODID, "blue_rose"), new Block(FabricBlockSettings.copyOf(Blocks.BLUE_ORCHID).nonOpaque())); - Block PAEONIA = register(new Identifier(Back_In_Classic.MODID, "paeonia_flower"), new Block(FabricBlockSettings.copyOf(Blocks.PINK_TULIP).nonOpaque())); - Block RED_ROSE = register(new Identifier(Back_In_Classic.MODID, "red_rose"), new Block(FabricBlockSettings.copyOf(Blocks.POPPY).nonOpaque())); - Block SHRUB = register(new Identifier(Back_In_Classic.MODID, "shrub"), new Block(FabricBlockSettings.copyOf(Blocks.DEAD_BUSH).nonOpaque())); + Block BLUE_ROSE = register(new Identifier(Back_In_Classic.MODID, "blue_rose"), new PlantBlock(FabricBlockSettings.copyOf(Blocks.BLUE_ORCHID).nonOpaque())); + Block PAEONIA = register(new Identifier(Back_In_Classic.MODID, "paeonia_flower"), new PlantBlock(FabricBlockSettings.copyOf(Blocks.PINK_TULIP).nonOpaque())); + Block RED_ROSE = register(new Identifier(Back_In_Classic.MODID, "red_rose"), new PlantBlock(FabricBlockSettings.copyOf(Blocks.POPPY).nonOpaque())); + Block SHRUB = register(new Identifier(Back_In_Classic.MODID, "shrub"), new PlantBlock(FabricBlockSettings.copyOf(Blocks.DEAD_BUSH).nonOpaque())); //CAULDRONS Block AWKWARD_CAULDRON = register(new Identifier(Back_In_Classic.MODID, "awkward_cauldron"), new Block(FabricBlockSettings.copyOf(Blocks.CAULDRON).nonOpaque())); diff --git a/src/main/resources/assets/back_in_classic/blockstates/blue_rose.json b/src/main/resources/assets/back_in_classic/blockstates/blue_rose.json new file mode 100644 index 0000000..158326c --- /dev/null +++ b/src/main/resources/assets/back_in_classic/blockstates/blue_rose.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "back_in_classic:block/blue_rose" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/back_in_classic/blockstates/blue_rose_flower.json b/src/main/resources/assets/back_in_classic/blockstates/blue_rose_flower.json deleted file mode 100644 index 3422b3a..0000000 --- a/src/main/resources/assets/back_in_classic/blockstates/blue_rose_flower.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "variants": { - "": { - "model": "back_in_classic:block/blue_rose_flower" - } - } -} \ No newline at end of file diff --git a/src/main/resources/assets/back_in_classic/blockstates/red_rose.json b/src/main/resources/assets/back_in_classic/blockstates/red_rose.json new file mode 100644 index 0000000..e8b46f2 --- /dev/null +++ b/src/main/resources/assets/back_in_classic/blockstates/red_rose.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "back_in_classic:block/red_rose" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/back_in_classic/blockstates/rose_flower.json b/src/main/resources/assets/back_in_classic/blockstates/rose_flower.json deleted file mode 100644 index a032496..0000000 --- a/src/main/resources/assets/back_in_classic/blockstates/rose_flower.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "variants": { - "": { - "model": "back_in_classic:block/rose_flower" - } - } -} \ No newline at end of file diff --git a/src/main/resources/assets/back_in_classic/lang/en_uk.json b/src/main/resources/assets/back_in_classic/lang/en_uk.json index edaeeae..d30e173 100644 --- a/src/main/resources/assets/back_in_classic/lang/en_uk.json +++ b/src/main/resources/assets/back_in_classic/lang/en_uk.json @@ -40,7 +40,7 @@ "key.back_in_classic.nether_portal_key": "Nether Portal Key", "subtitles.waterfall": "Water Crashes", "enchantment.back_in_classic.sharpshot": "Sharpshot", - "block.back_in_classic.blue_rose": "Cave Rose", + "block.back_in_classic.blue_rose": "Blue Rose", "item.back_in_classic.plate_chestplate": "Plated Body", "biome.back_in_classic.classic_plains": "Classic Plains", "subtitles.ocean_loop": "Waves Crash", @@ -49,7 +49,7 @@ "biome.back_in_classic.scenic_gravel_beach": "Scenic Sand Beach", "item.back_in_classic.plate_boots": "Plated Boots", "item.back_in_classic.fire": "Fire", - "block.back_in_classic.red_rose": "Wild Rose", + "block.back_in_classic.red_rose": "Red Rose", "block.back_in_classic.shrub": "Shrub", "block.back_in_classic.glowing_obsidian": "Red Obsidian", "block.back_in_classic.dirt_slab": "Dirt Slab", diff --git a/src/main/resources/assets/back_in_classic/lang/en_us.json b/src/main/resources/assets/back_in_classic/lang/en_us.json index edaeeae..d30e173 100644 --- a/src/main/resources/assets/back_in_classic/lang/en_us.json +++ b/src/main/resources/assets/back_in_classic/lang/en_us.json @@ -40,7 +40,7 @@ "key.back_in_classic.nether_portal_key": "Nether Portal Key", "subtitles.waterfall": "Water Crashes", "enchantment.back_in_classic.sharpshot": "Sharpshot", - "block.back_in_classic.blue_rose": "Cave Rose", + "block.back_in_classic.blue_rose": "Blue Rose", "item.back_in_classic.plate_chestplate": "Plated Body", "biome.back_in_classic.classic_plains": "Classic Plains", "subtitles.ocean_loop": "Waves Crash", @@ -49,7 +49,7 @@ "biome.back_in_classic.scenic_gravel_beach": "Scenic Sand Beach", "item.back_in_classic.plate_boots": "Plated Boots", "item.back_in_classic.fire": "Fire", - "block.back_in_classic.red_rose": "Wild Rose", + "block.back_in_classic.red_rose": "Red Rose", "block.back_in_classic.shrub": "Shrub", "block.back_in_classic.glowing_obsidian": "Red Obsidian", "block.back_in_classic.dirt_slab": "Dirt Slab", diff --git a/src/main/resources/assets/back_in_classic/models/block/sod_slab_top.json b/src/main/resources/assets/back_in_classic/models/block/sod_slab_top.json index 981bd3d..d5bea02 100644 --- a/src/main/resources/assets/back_in_classic/models/block/sod_slab_top.json +++ b/src/main/resources/assets/back_in_classic/models/block/sod_slab_top.json @@ -1,12 +1,8 @@ { - "parent": "block/cube", + "parent": "block/slab_top", "textures": { - "down": "back_in_classic:block/dirt", - "up": "back_in_classic:block/grass_top", - "north": "back_in_classic:block/grass_side", - "south": "back_in_classic:block/grass_side", - "east": "back_in_classic:block/grass_side", - "west": "back_in_classic:block/grass_side", - "particle": "back_in_classic:block/grass_top" + "bottom": "back_in_classic:block/grass_top", + "top": "back_in_classic:block/grass_top", + "side": "back_in_classic:block/grass_top" } } \ No newline at end of file diff --git a/src/main/resources/assets/back_in_classic/models/item/blue_rose_flower.json b/src/main/resources/assets/back_in_classic/models/item/blue_rose.json similarity index 100% rename from src/main/resources/assets/back_in_classic/models/item/blue_rose_flower.json rename to src/main/resources/assets/back_in_classic/models/item/blue_rose.json diff --git a/src/main/resources/assets/back_in_classic/models/item/rose_flower.json b/src/main/resources/assets/back_in_classic/models/item/red_rose.json similarity index 100% rename from src/main/resources/assets/back_in_classic/models/item/rose_flower.json rename to src/main/resources/assets/back_in_classic/models/item/red_rose.json diff --git a/src/main/resources/assets/back_in_classic/textures/block/shrub_single.png b/src/main/resources/assets/back_in_classic/textures/block/shrub_single.png index ee873a6..d5c14c1 100644 Binary files a/src/main/resources/assets/back_in_classic/textures/block/shrub_single.png and b/src/main/resources/assets/back_in_classic/textures/block/shrub_single.png differ diff --git a/src/main/resources/data/back_in_classic/loot_tables/blocks/crushed_gravel.json b/src/main/resources/data/back_in_classic/loot_tables/blocks/crushed_gravel.json new file mode 100644 index 0000000..2e6b0e4 --- /dev/null +++ b/src/main/resources/data/back_in_classic/loot_tables/blocks/crushed_gravel.json @@ -0,0 +1,64 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "back_in_classic:crushed_gravel" + }, + { + "type": "minecraft:alternatives", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.25, + 0.35, + 0.59, + 1.0 + ] + } + ], + "name": "minecraft:flint" + }, + { + "type": "minecraft:item", + "name": "back_in_classic:crushed_gravel" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/blue_rose_dye.json b/src/main/resources/data/back_in_classic/recipes/blue_rose_dye.json new file mode 100644 index 0000000..2fa958c --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/blue_rose_dye.json @@ -0,0 +1,13 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:blue_rose_flower" + } + ], + "result": { + "item": "minecraft:light_blue_dye", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/boat_craft.json b/src/main/resources/data/back_in_classic/recipes/boat_craft.json new file mode 100644 index 0000000..3dfa092 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/boat_craft.json @@ -0,0 +1,29 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "0 2", + "345" + ], + "key": { + "0": { + "item": "minecraft:stick" + }, + "2": { + "item": "minecraft:stick" + }, + "3": { + "tag": "minecraft:planks" + }, + "4": { + "tag": "minecraft:planks" + }, + "5": { + "tag": "minecraft:planks" + } + }, + "result": { + "item": "back_in_classic:boat_item", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/chain_boots.json b/src/main/resources/data/back_in_classic/recipes/chain_boots.json new file mode 100644 index 0000000..020eb14 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/chain_boots.json @@ -0,0 +1,26 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "0 2", + "3 5" + ], + "key": { + "0": { + "item": "back_in_classic:fire" + }, + "2": { + "item": "back_in_classic:fire" + }, + "3": { + "item": "back_in_classic:fire" + }, + "5": { + "item": "back_in_classic:fire" + } + }, + "result": { + "item": "minecraft:chainmail_boots", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/chain_chestplate.json b/src/main/resources/data/back_in_classic/recipes/chain_chestplate.json new file mode 100644 index 0000000..3f31499 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/chain_chestplate.json @@ -0,0 +1,39 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "0 2", + "345", + "678" + ], + "key": { + "0": { + "item": "back_in_classic:fire" + }, + "2": { + "item": "back_in_classic:fire" + }, + "3": { + "item": "back_in_classic:fire" + }, + "4": { + "item": "back_in_classic:fire" + }, + "5": { + "item": "back_in_classic:fire" + }, + "6": { + "item": "back_in_classic:fire" + }, + "7": { + "item": "back_in_classic:fire" + }, + "8": { + "item": "back_in_classic:fire" + } + }, + "result": { + "item": "minecraft:chainmail_chestplate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/chain_helmet.json b/src/main/resources/data/back_in_classic/recipes/chain_helmet.json new file mode 100644 index 0000000..d5b9707 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/chain_helmet.json @@ -0,0 +1,29 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "012", + "3 5" + ], + "key": { + "0": { + "item": "back_in_classic:fire" + }, + "1": { + "item": "back_in_classic:fire" + }, + "2": { + "item": "back_in_classic:fire" + }, + "3": { + "item": "back_in_classic:fire" + }, + "5": { + "item": "back_in_classic:fire" + } + }, + "result": { + "item": "minecraft:chainmail_helmet", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/chain_leggings.json b/src/main/resources/data/back_in_classic/recipes/chain_leggings.json new file mode 100644 index 0000000..bbbebd6 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/chain_leggings.json @@ -0,0 +1,36 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "012", + "3 5", + "6 8" + ], + "key": { + "0": { + "item": "back_in_classic:fire" + }, + "1": { + "item": "back_in_classic:fire" + }, + "2": { + "item": "back_in_classic:fire" + }, + "3": { + "item": "back_in_classic:fire" + }, + "5": { + "item": "back_in_classic:fire" + }, + "6": { + "item": "back_in_classic:fire" + }, + "8": { + "item": "back_in_classic:fire" + } + }, + "result": { + "item": "minecraft:chainmail_leggings", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/cobweb_craft.json b/src/main/resources/data/back_in_classic/recipes/cobweb_craft.json new file mode 100644 index 0000000..bc5f0f6 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/cobweb_craft.json @@ -0,0 +1,18 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "sss", + "sss", + "sss" + ], + "key": { + "s": { + "item": "minecraft:string" + } + }, + "result": { + "item": "minecraft:cobweb", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/cobweb_uncraft.json b/src/main/resources/data/back_in_classic/recipes/cobweb_uncraft.json new file mode 100644 index 0000000..38cdf11 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/cobweb_uncraft.json @@ -0,0 +1,13 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:cobweb" + } + ], + "result": { + "item": "minecraft:string", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/diamond_horse_armor.json b/src/main/resources/data/back_in_classic/recipes/diamond_horse_armor.json new file mode 100644 index 0000000..80048af --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/diamond_horse_armor.json @@ -0,0 +1,36 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "345", + "678" + ], + "key": { + "2": { + "item": "minecraft:diamond" + }, + "3": { + "item": "minecraft:diamond" + }, + "4": { + "tag": "minecraft:wool" + }, + "5": { + "item": "minecraft:diamond" + }, + "6": { + "item": "minecraft:diamond" + }, + "7": { + "item": "minecraft:diamond" + }, + "8": { + "item": "minecraft:diamond" + } + }, + "result": { + "item": "minecraft:diamond_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/dirt_slab.json b/src/main/resources/data/back_in_classic/recipes/dirt_slab.json new file mode 100644 index 0000000..821b307 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/dirt_slab.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "000" + ], + "key": { + "0": { + "item": "minecraft:dirt" + } + }, + "result": { + "item": "back_in_classic:dirt_slab", + "count": 6 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/dirt_slab_uncraft.json b/src/main/resources/data/back_in_classic/recipes/dirt_slab_uncraft.json new file mode 100644 index 0000000..1ddcd78 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/dirt_slab_uncraft.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:dirt_slab" + }, + { + "item": "back_in_classic:dirt_slab" + } + ], + "result": { + "item": "minecraft:dirt", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/extreme_diamond_sword.json b/src/main/resources/data/back_in_classic/recipes/extreme_diamond_sword.json new file mode 100644 index 0000000..24d88de --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/extreme_diamond_sword.json @@ -0,0 +1,24 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "42 ", + "34 " + ], + "key": { + "2": { + "item": "minecraft:diamond_block" + }, + "3": { + "item": "minecraft:stick" + }, + "4": { + "item": "minecraft:diamond" + } + }, + "result": { + "item": "back_in_classic:extreme_diamond_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/extreme_gold_sword.json b/src/main/resources/data/back_in_classic/recipes/extreme_gold_sword.json new file mode 100644 index 0000000..a9d5206 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/extreme_gold_sword.json @@ -0,0 +1,24 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "42 ", + "34 " + ], + "key": { + "2": { + "item": "minecraft:gold_block" + }, + "3": { + "item": "minecraft:stick" + }, + "4": { + "item": "minecraft:gold_ingot" + } + }, + "result": { + "item": "back_in_classic:extreme_gold_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/extreme_iron_sword.json b/src/main/resources/data/back_in_classic/recipes/extreme_iron_sword.json new file mode 100644 index 0000000..145e0db --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/extreme_iron_sword.json @@ -0,0 +1,24 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "42 ", + "34 " + ], + "key": { + "2": { + "item": "minecraft:iron_block" + }, + "3": { + "item": "minecraft:stick" + }, + "4": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "back_in_classic:extreme_iron_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/extreme_stone_sword.json b/src/main/resources/data/back_in_classic/recipes/extreme_stone_sword.json new file mode 100644 index 0000000..089cc28 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/extreme_stone_sword.json @@ -0,0 +1,24 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "42 ", + "34 " + ], + "key": { + "2": { + "item": "minecraft:stone" + }, + "3": { + "item": "minecraft:stick" + }, + "4": { + "item": "minecraft:stone_slab" + } + }, + "result": { + "item": "back_in_classic:extreme_stone_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/extreme_wood_sword.json b/src/main/resources/data/back_in_classic/recipes/extreme_wood_sword.json new file mode 100644 index 0000000..5748236 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/extreme_wood_sword.json @@ -0,0 +1,24 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "42 ", + "34 " + ], + "key": { + "2": { + "tag": "minecraft:logs" + }, + "3": { + "item": "minecraft:stick" + }, + "4": { + "tag": "minecraft:planks" + } + }, + "result": { + "item": "back_in_classic:extreme_wood_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/gold_horse_armor.json b/src/main/resources/data/back_in_classic/recipes/gold_horse_armor.json new file mode 100644 index 0000000..1942f2c --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/gold_horse_armor.json @@ -0,0 +1,36 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "345", + "678" + ], + "key": { + "2": { + "item": "minecraft:gold_ingot" + }, + "3": { + "item": "minecraft:gold_ingot" + }, + "4": { + "tag": "minecraft:wool" + }, + "5": { + "item": "minecraft:gold_ingot" + }, + "6": { + "item": "minecraft:gold_ingot" + }, + "7": { + "item": "minecraft:gold_ingot" + }, + "8": { + "item": "minecraft:gold_ingot" + } + }, + "result": { + "item": "minecraft:golden_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/iron_horse_armor.json b/src/main/resources/data/back_in_classic/recipes/iron_horse_armor.json new file mode 100644 index 0000000..c118b4f --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/iron_horse_armor.json @@ -0,0 +1,36 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + " 2", + "345", + "678" + ], + "key": { + "2": { + "item": "minecraft:iron_ingot" + }, + "3": { + "item": "minecraft:iron_ingot" + }, + "4": { + "tag": "minecraft:wool" + }, + "5": { + "item": "minecraft:iron_ingot" + }, + "6": { + "item": "minecraft:iron_ingot" + }, + "7": { + "item": "minecraft:iron_ingot" + }, + "8": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "minecraft:iron_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/notch_apple.json b/src/main/resources/data/back_in_classic/recipes/notch_apple.json new file mode 100644 index 0000000..83a2216 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/notch_apple.json @@ -0,0 +1,42 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "012", + "345", + "678" + ], + "key": { + "0": { + "item": "minecraft:gold_block" + }, + "1": { + "item": "minecraft:gold_block" + }, + "2": { + "item": "minecraft:gold_block" + }, + "3": { + "item": "minecraft:gold_block" + }, + "4": { + "item": "minecraft:apple" + }, + "5": { + "item": "minecraft:gold_block" + }, + "6": { + "item": "minecraft:gold_block" + }, + "7": { + "item": "minecraft:gold_block" + }, + "8": { + "item": "minecraft:gold_block" + } + }, + "result": { + "item": "minecraft:enchanted_golden_apple", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/paeonia_dye.json b/src/main/resources/data/back_in_classic/recipes/paeonia_dye.json new file mode 100644 index 0000000..4a481f6 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/paeonia_dye.json @@ -0,0 +1,13 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:paeonia_flower" + } + ], + "result": { + "item": "minecraft:pink_dye", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/plate_chestplate.json b/src/main/resources/data/back_in_classic/recipes/plate_chestplate.json new file mode 100644 index 0000000..6d3d7fc --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/plate_chestplate.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:smithing", + "base": { + "item": "minecraft:iron_chestplate" + }, + "addition": { + "item": "minecraft:heavy_weighted_pressure_plate" + }, + "result": { + "item": "back_in_classic:plate_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/plate_helmet.json b/src/main/resources/data/back_in_classic/recipes/plate_helmet.json new file mode 100644 index 0000000..3d823b5 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/plate_helmet.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:smithing", + "base": { + "item": "minecraft:iron_helmet" + }, + "addition": { + "item": "minecraft:heavy_weighted_pressure_plate" + }, + "result": { + "item": "back_in_classic:plate_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/rose_dye.json b/src/main/resources/data/back_in_classic/recipes/rose_dye.json new file mode 100644 index 0000000..6c40e82 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/rose_dye.json @@ -0,0 +1,13 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:rose_flower" + } + ], + "result": { + "item": "minecraft:red_dye", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_block.json b/src/main/resources/data/back_in_classic/recipes/sod_block.json new file mode 100644 index 0000000..16eb611 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_block.json @@ -0,0 +1,17 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "00", + "00" + ], + "key": { + "0": { + "item": "minecraft:grass_block" + } + }, + "result": { + "item": "back_in_classic:sod_block", + "count": 4 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_block_alt.json b/src/main/resources/data/back_in_classic/recipes/sod_block_alt.json new file mode 100644 index 0000000..db93d67 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_block_alt.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:sod_slab" + }, + { + "item": "back_in_classic:sod_slab" + } + ], + "result": { + "item": "back_in_classic:sod_block", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_block_uncraft.json b/src/main/resources/data/back_in_classic/recipes/sod_block_uncraft.json new file mode 100644 index 0000000..753a502 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_block_uncraft.json @@ -0,0 +1,17 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "00", + "00" + ], + "key": { + "0": { + "item": "back_in_classic:sod_block" + } + }, + "result": { + "item": "minecraft:grass_block", + "count": 4 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_slab.json b/src/main/resources/data/back_in_classic/recipes/sod_slab.json new file mode 100644 index 0000000..f9db52f --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_slab.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "000" + ], + "key": { + "0": { + "item": "minecraft:grass_block" + } + }, + "result": { + "item": "back_in_classic:sod_slab", + "count": 6 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_slab_alt.json b/src/main/resources/data/back_in_classic/recipes/sod_slab_alt.json new file mode 100644 index 0000000..e4c2005 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_slab_alt.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "000" + ], + "key": { + "0": { + "item": "back_in_classic:sod_block" + } + }, + "result": { + "item": "back_in_classic:sod_slab", + "count": 6 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/sod_slab_uncraft.json b/src/main/resources/data/back_in_classic/recipes/sod_slab_uncraft.json new file mode 100644 index 0000000..daec0f2 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/sod_slab_uncraft.json @@ -0,0 +1,16 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "back_in_classic:sod_slab" + }, + { + "item": "back_in_classic:sod_slab" + } + ], + "result": { + "item": "minecraft:grass_block", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/wax_block.json b/src/main/resources/data/back_in_classic/recipes/wax_block.json new file mode 100644 index 0000000..1531eab --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/wax_block.json @@ -0,0 +1,17 @@ +{ + "group": "back_in_classic", + "type": "minecraft:crafting_shaped", + "pattern": [ + "00", + "00" + ], + "key": { + "0": { + "item": "minecraft:honey_block" + } + }, + "result": { + "item": "back_in_classic:wax_block", + "count": 4 + } +} \ No newline at end of file diff --git a/src/main/resources/data/back_in_classic/recipes/wax_block_uncraft.json b/src/main/resources/data/back_in_classic/recipes/wax_block_uncraft.json new file mode 100644 index 0000000..d626087 --- /dev/null +++ b/src/main/resources/data/back_in_classic/recipes/wax_block_uncraft.json @@ -0,0 +1,7 @@ +{ + "type": "minecraft:campfire_cooking", + "ingredient": { + "item": "back_in_classic:wax_block" + }, + "result": "minecraft:honey_block" +} diff --git a/src/main/resources/data/back_in_classic/structures/brick_pyramid_void.nbt b/src/main/resources/data/back_in_classic/structures/brick_pyramid_void.nbt new file mode 100644 index 0000000..4be113f Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/brick_pyramid_void.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/cube.nbt b/src/main/resources/data/back_in_classic/structures/cube.nbt new file mode 100644 index 0000000..272a787 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/cube.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/desert_spawner_skeleton.nbt b/src/main/resources/data/back_in_classic/structures/desert_spawner_skeleton.nbt new file mode 100644 index 0000000..2851163 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/desert_spawner_skeleton.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/desert_spawner_spider.nbt b/src/main/resources/data/back_in_classic/structures/desert_spawner_spider.nbt new file mode 100644 index 0000000..31c2cae Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/desert_spawner_spider.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/desert_spawner_zombie.nbt b/src/main/resources/data/back_in_classic/structures/desert_spawner_zombie.nbt new file mode 100644 index 0000000..a785f81 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/desert_spawner_zombie.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/double_farm.nbt b/src/main/resources/data/back_in_classic/structures/double_farm.nbt new file mode 100644 index 0000000..a84a4aa Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/double_farm.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/fallen_tree.nbt b/src/main/resources/data/back_in_classic/structures/fallen_tree.nbt new file mode 100644 index 0000000..3244691 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/fallen_tree.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/fallen_tree_alt.nbt b/src/main/resources/data/back_in_classic/structures/fallen_tree_alt.nbt new file mode 100644 index 0000000..23b2fbe Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/fallen_tree_alt.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/gravel_path.nbt b/src/main/resources/data/back_in_classic/structures/gravel_path.nbt new file mode 100644 index 0000000..b2b928d Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/gravel_path.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/large_house.nbt b/src/main/resources/data/back_in_classic/structures/large_house.nbt new file mode 100644 index 0000000..6de1e7e Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/large_house.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/library_house.nbt b/src/main/resources/data/back_in_classic/structures/library_house.nbt new file mode 100644 index 0000000..db8e6aa Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/library_house.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/moss_spawn_house.nbt b/src/main/resources/data/back_in_classic/structures/moss_spawn_house.nbt new file mode 100644 index 0000000..9c77e87 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/moss_spawn_house.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/single_farm.nbt b/src/main/resources/data/back_in_classic/structures/single_farm.nbt new file mode 100644 index 0000000..6e6f596 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/single_farm.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/small_hut_short.nbt b/src/main/resources/data/back_in_classic/structures/small_hut_short.nbt new file mode 100644 index 0000000..8f47a26 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/small_hut_short.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/small_hut_tall.nbt b/src/main/resources/data/back_in_classic/structures/small_hut_tall.nbt new file mode 100644 index 0000000..602adc9 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/small_hut_tall.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/square_hut_fence.nbt b/src/main/resources/data/back_in_classic/structures/square_hut_fence.nbt new file mode 100644 index 0000000..c64ca80 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/square_hut_fence.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/square_hut_flat.nbt b/src/main/resources/data/back_in_classic/structures/square_hut_flat.nbt new file mode 100644 index 0000000..0384bf6 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/square_hut_flat.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/street_light.nbt b/src/main/resources/data/back_in_classic/structures/street_light.nbt new file mode 100644 index 0000000..3016f9e Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/street_light.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/village_center.nbt b/src/main/resources/data/back_in_classic/structures/village_center.nbt new file mode 100644 index 0000000..0e4ae2d Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/village_center.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/village_well.nbt b/src/main/resources/data/back_in_classic/structures/village_well.nbt new file mode 100644 index 0000000..fb69ed0 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/village_well.nbt differ diff --git a/src/main/resources/data/back_in_classic/structures/wood_spawn_house.nbt b/src/main/resources/data/back_in_classic/structures/wood_spawn_house.nbt new file mode 100644 index 0000000..d7d9aa8 Binary files /dev/null and b/src/main/resources/data/back_in_classic/structures/wood_spawn_house.nbt differ diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/acacia_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/acacia_log.json new file mode 100644 index 0000000..5b2d491 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/acacia_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:acacia_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:acacia_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/birch_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/birch_log.json new file mode 100644 index 0000000..f475c4a --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/birch_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:birch_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:birch_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/cherry_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/cherry_log.json new file mode 100644 index 0000000..51885c9 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/cherry_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:cherry_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:cherry_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/crimson_stem.json b/src/main/resources/data/minecraft/loot_tables/blocks/crimson_stem.json new file mode 100644 index 0000000..931d176 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/crimson_stem.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:crimson_stem" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:crimson_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_log.json new file mode 100644 index 0000000..51f53d3 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/dark_oak_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:dark_oak_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:dark_oak_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/jungle_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/jungle_log.json new file mode 100644 index 0000000..2b9bea4 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/jungle_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:jungle_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:jungle_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/mangrove_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/mangrove_log.json new file mode 100644 index 0000000..f811d9f --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/mangrove_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:mangrove_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:mangrove_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/oak_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/oak_log.json new file mode 100644 index 0000000..0bf9b3f --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/oak_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:oak_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:oak_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/spruce_log.json b/src/main/resources/data/minecraft/loot_tables/blocks/spruce_log.json new file mode 100644 index 0000000..fea048e --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/spruce_log.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:spruce_log" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:spruce_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/warped_stem.json b/src/main/resources/data/minecraft/loot_tables/blocks/warped_stem.json new file mode 100644 index 0000000..02787ec --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/warped_stem.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag":"minecraft:axes" + } + } + ], + "name": "minecraft:warped_stem" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 5.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { + "max": 8 + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:warped_planks" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/abandoned_mineshaft.json b/src/main/resources/data/minecraft/loot_tables/chests/abandoned_mineshaft.json new file mode 100644 index 0000000..499aca4 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/abandoned_mineshaft.json @@ -0,0 +1,287 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 30, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "minecraft:empty", + "weight": 5 + } + ] + }, + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 9.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:redstone" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 9.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:lapis_lazuli" + }, + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:diamond" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 3.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:coal" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:melon_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:pumpkin_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:beetroot_seeds" + } + ] + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "back_in_classic:blue_rose" + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rail" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:powered_rail" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:detector_rail" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:activator_rail" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 16.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:torch" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/desert_pyramid.json b/src/main/resources/data/minecraft/loot_tables/chests/desert_pyramid.json new file mode 100644 index 0000000..f625515 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/desert_pyramid.json @@ -0,0 +1,258 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:diamond" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 25, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 6.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bone" + }, + { + "type": "minecraft:item", + "weight": 25, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:spider_eye" + }, + { + "type": "minecraft:item", + "weight": 25, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 3.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 20, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:empty", + "weight": 15 + } + ] + }, + { + "rolls": 4, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bone" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gunpowder" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:string" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:sand" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "back_in_classic:shrub" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/igloo_chest.json b/src/main/resources/data/minecraft/loot_tables/chests/igloo_chest.json new file mode 100644 index 0000000..e697ca2 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/igloo_chest.json @@ -0,0 +1,112 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 8.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:coal" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:stone_axe" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "back_in_classic:red_rose" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:golden_apple" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/jungle_temple_dispenser.json b/src/main/resources/data/minecraft/loot_tables/chests/jungle_temple_dispenser.json new file mode 100644 index 0000000..a44ab92 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/jungle_temple_dispenser.json @@ -0,0 +1,44 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 30, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:arrow" + }, + { + "type": "minecraft:item", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:fire_charge" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/nether_bridge.json b/src/main/resources/data/minecraft/loot_tables/chests/nether_bridge.json new file mode 100644 index 0000000..7080229 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/nether_bridge.json @@ -0,0 +1,129 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:diamond" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_sword" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_chestplate" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:flint_and_steel" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 3.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:nether_wart" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 8, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 3, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:obsidian" + }, + { + "type": "minecraft:item", + "weight": 1, + "name": "back_in_classic:nether_reactor_core" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/ruined_portal.json b/src/main/resources/data/minecraft/loot_tables/chests/ruined_portal.json new file mode 100644 index 0000000..7125baa --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/ruined_portal.json @@ -0,0 +1,280 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 4.0, + "max": 8.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:obsidian" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "back_in_classic:glowing_obsidian" + }, + { + "type": "minecraft:item", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:flint" + }, + { + "type": "minecraft:item", + "weight": 40, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 9.0, + "max": 18.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_nugget" + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:flint_and_steel" + }, + { + "type": "minecraft:item", + "weight": 40, + "name": "minecraft:fire_charge" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 24.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_sword" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_axe" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_hoe" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_shovel" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_pickaxe" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_boots" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_chestplate" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_helmet" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:golden_leggings" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 12.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:glistering_melon_slice" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:light_weighted_pressure_plate" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4.0, + "max": 12.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:golden_carrot" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:clock" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:bell" + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_block" + }, + { + "type": "minecraft:item", + "name": "back_in_classic:nether_reactor_core" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/simple_dungeon.json b/src/main/resources/data/minecraft/loot_tables/chests/simple_dungeon.json new file mode 100644 index 0000000..9bb4732 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/simple_dungeon.json @@ -0,0 +1,273 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_13" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:golden_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:iron_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:book" + } + ] + }, + { + "rolls": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bucket" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:redstone" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:coal" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:melon_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:pumpkin_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:beetroot_seeds" + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bone" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gunpowder" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:string" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/village/village_plains_house.json b/src/main/resources/data/minecraft/loot_tables/chests/village/village_plains_house.json new file mode 100644 index 0000000..385046a --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/village/village_plains_house.json @@ -0,0 +1,129 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 3.0, + "max": 8.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:dandelion" + }, + { + "type": "minecraft:item", + "name": "minecraft:poppy" + }, + { + "type": "minecraft:item", + "name": "back_in_classic:red_rose" + }, + { + "type": "minecraft:item", + "weight": 6, + "name": "back_in_classic:blue_rose" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 7.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:potato" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:apple" + }, + { + "type": "minecraft:item", + "name": "minecraft:book" + }, + { + "type": "minecraft:item", + "name": "minecraft:feather" + }, + { + "type": "minecraft:item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:oak_sapling" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/village/village_tannery.json b/src/main/resources/data/minecraft/loot_tables/chests/village/village_tannery.json new file mode 100644 index 0000000..6d2601f --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/village/village_tannery.json @@ -0,0 +1,95 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:leather" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 5.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rabbit_hide" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_chestplate" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_boots" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_helmet" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:leather_leggings" + }, + { + "type": "minecraft:item", + "name": "minecraft:saddle" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/chests/woodland_mansion.json b/src/main/resources/data/minecraft/loot_tables/chests/woodland_mansion.json new file mode 100644 index 0000000..d00ef47 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/chests/woodland_mansion.json @@ -0,0 +1,347 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:lead" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:golden_apple" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_13" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:music_disc_cat" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:name_tag" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:chainmail_chestplate" + }, + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 20.0, + "max": 39.0, + "type": "minecraft:uniform" + }, + "treasure": true + } + ], + "name": "minecraft:chainmail_chestplate" + }, + { + "type": "minecraft:item", + "weight": 15, + "name": "minecraft:diamond_hoe" + }, + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 20.0, + "max": 39.0, + "type": "minecraft:uniform" + }, + "treasure": true + } + ], + "name": "minecraft:diamond_hoe" + }, + { + "type": "minecraft:item", + "weight": 5, + "name": "minecraft:diamond_chestplate" + }, + { + "type": "minecraft:item", + "weight": 1, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 20.0, + "max": 39.0, + "type": "minecraft:uniform" + }, + "treasure": true + } + ], + "name": "minecraft:diamond_chestplate" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:book" + } + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:enchant_with_levels", + "levels": { + "min": 15.0, + "max": 30.0, + "type": "minecraft:uniform" + }, + "treasure": true + } + ], + "name": "minecraft:book" + } + ] + }, + { + "rolls": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + }, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "minecraft:item", + "weight": 20, + "name": "minecraft:bread" + }, + { + "type": "minecraft:item", + "weight": 20, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "minecraft:item", + "weight": 10, + "name": "minecraft:bucket" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:redstone" + }, + { + "type": "minecraft:item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:coal" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:melon_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:pumpkin_seeds" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2.0, + "max": 4.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:beetroot_seeds" + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:bone" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:gunpowder" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 8.0, + "type": "minecraft:uniform" + } + } + ], + "name": "minecraft:string" + }, + { + "type": "minecraft:item", + "weight": 4, + "name": "back_in_classic:rose_flower" + }, + { + "type": "minecraft:item", + "weight": 2, + "name": "back_in_classic:blue_rose_flower" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/bat.json b/src/main/resources/data/minecraft/loot_tables/entities/bat.json new file mode 100644 index 0000000..6a252f7 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/bat.json @@ -0,0 +1,24 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:feather" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.1, + "looting_multiplier": 0.1 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/bee.json b/src/main/resources/data/minecraft/loot_tables/entities/bee.json new file mode 100644 index 0000000..4b3192e --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/bee.json @@ -0,0 +1,32 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:poppy" + }, + { + "type": "minecraft:item", + "name": "minecraft:dandelion" + }, + { + "type": "minecraft:item", + "name": "minecraft:cornflower" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.1, + "looting_multiplier": 0.1 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/cod.json b/src/main/resources/data/minecraft/loot_tables/entities/cod.json new file mode 100644 index 0000000..4582772 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/cod.json @@ -0,0 +1,60 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:furnace_smelt", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "predicate": { + "flags": { + "is_on_fire": true + } + }, + "entity": "this" + } + ] + } + ], + "name": "minecraft:cod" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone_meal" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.05 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/endermite.json b/src/main/resources/data/minecraft/loot_tables/entities/endermite.json new file mode 100644 index 0000000..eb80c94 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/endermite.json @@ -0,0 +1,31 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:ender_pearl" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/husk.json b/src/main/resources/data/minecraft/loot_tables/entities/husk.json new file mode 100644 index 0000000..ad39d71 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/husk.json @@ -0,0 +1,79 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:leather" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "name": "minecraft:potato" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/player.json b/src/main/resources/data/minecraft/loot_tables/entities/player.json new file mode 100644 index 0000000..4cbf893 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/player.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:player_head", + "functions": [ + { + "function": "fill_player_head", + "entity": "this" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/polar_bear.json b/src/main/resources/data/minecraft/loot_tables/entities/polar_bear.json new file mode 100644 index 0000000..1fce5a2 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/polar_bear.json @@ -0,0 +1,80 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "weight": 3, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:cod" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:salmon" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 3.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 2.0 + } + } + ], + "name": "minecraft:leather" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/rabbit.json b/src/main/resources/data/minecraft/loot_tables/entities/rabbit.json new file mode 100644 index 0000000..0c21216 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/rabbit.json @@ -0,0 +1,105 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rabbit_hide" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:furnace_smelt", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "predicate": { + "flags": { + "is_on_fire": true + } + }, + "entity": "this" + } + ] + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rabbit" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:rabbit_foot" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.1, + "looting_multiplier": 0.03 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:leather" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/salmon.json b/src/main/resources/data/minecraft/loot_tables/entities/salmon.json new file mode 100644 index 0000000..c57a428 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/salmon.json @@ -0,0 +1,60 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:furnace_smelt", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "predicate": { + "flags": { + "is_on_fire": true + } + }, + "entity": "this" + } + ] + } + ], + "name": "minecraft:salmon" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone_meal" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.05 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/tropical_fish.json b/src/main/resources/data/minecraft/loot_tables/entities/tropical_fish.json new file mode 100644 index 0000000..5e57e3d --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/tropical_fish.json @@ -0,0 +1,50 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": 1 + } + ], + "name": "minecraft:tropical_fish" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone_meal" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.05 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone" + } + ], + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/zombie.json b/src/main/resources/data/minecraft/loot_tables/entities/zombie.json new file mode 100644 index 0000000..aeaccce --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/zombie.json @@ -0,0 +1,84 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rotten_flesh" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:feather" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "name": "minecraft:potato" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/zombie_horse.json b/src/main/resources/data/minecraft/loot_tables/entities/zombie_horse.json new file mode 100644 index 0000000..689ccc3 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/zombie_horse.json @@ -0,0 +1,57 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rotten_flesh" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:feather" + } + ] + }, + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/zombie_villager.json b/src/main/resources/data/minecraft/loot_tables/entities/zombie_villager.json new file mode 100644 index 0000000..aeaccce --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/zombie_villager.json @@ -0,0 +1,84 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rotten_flesh" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:feather" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "name": "minecraft:potato" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/entities/zombified_piglin.json b/src/main/resources/data/minecraft/loot_tables/entities/zombified_piglin.json new file mode 100644 index 0000000..36cd76c --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/entities/zombified_piglin.json @@ -0,0 +1,116 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:rotten_flesh" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:gold_nugget" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:gold_ingot" + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 0.0, + "max": 1.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:furnace_smelt", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "predicate": { + "flags": { + "is_on_fire": true + } + }, + "entity": "this" + } + ] + }, + { + "function": "minecraft:looting_enchant", + "count": { + "min": 0.0, + "max": 1.0 + } + } + ], + "name": "minecraft:porkchop" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 93e95f6..2a4e424 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -20,6 +20,9 @@ "entrypoints": { "main": [ "net.saishovibes.back_in_classic.Back_In_Classic" + ], + "client": [ + "net.saishovibes.back_in_classic.Back_In_Classic_Client" ] },