From 1e514bca11623f03586023b0305baa43f337c5eb Mon Sep 17 00:00:00 2001 From: Jottyfan Date: Sat, 27 Jan 2024 23:58:01 +0100 Subject: [PATCH] recipe corrections (better game balance) --- .../EmptyLavaHoarderBlockEntity.java | 16 +++++------ .../quickiefabric/recipes/blockstacker.json | 2 +- .../data/quickiefabric/recipes/drill.json | 14 +++++----- .../data/quickiefabric/recipes/drillstop.json | 10 +++---- .../recipes/emptylavahoarder.json | 6 ++-- .../recipes/lavabucket_from_magmablock.json | 28 +++++++++---------- .../quickiefabric/recipes/monsterhoarder.json | 12 ++++---- 7 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java index 990f104..a30954c 100644 --- a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/EmptyLavaHoarderBlockEntity.java @@ -25,14 +25,14 @@ public class EmptyLavaHoarderBlockEntity extends BlockEntity { } public static final void spawnRandomItems(World world, BlockPos pos, Integer count) { - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.DIAMOND, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.EMERALD, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.GOLD_ORE, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.IRON_ORE, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.COPPER_ORE, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.OBSIDIAN, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.LAPIS_LAZULI, new Random().nextInt(count)))); - world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(QuickieItems.SULPHOR, new Random().nextInt(count)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.DIAMOND, new Random().nextInt(count + 2)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.EMERALD, new Random().nextInt(count + 1)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.RAW_GOLD, new Random().nextInt(count)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.RAW_IRON, new Random().nextInt(count)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.RAW_COPPER, new Random().nextInt(count)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.OBSIDIAN, new Random().nextInt(count + 2)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(Items.LAPIS_LAZULI, new Random().nextInt(count + 1)))); + world.spawnEntity(new ItemEntity(world, pos.getX(), pos.getY(), pos.getZ(), new ItemStack(QuickieItems.SULPHOR, new Random().nextInt(count - 1)))); } /** diff --git a/src/main/resources/data/quickiefabric/recipes/blockstacker.json b/src/main/resources/data/quickiefabric/recipes/blockstacker.json index c41d4ef..36262f7 100644 --- a/src/main/resources/data/quickiefabric/recipes/blockstacker.json +++ b/src/main/resources/data/quickiefabric/recipes/blockstacker.json @@ -7,7 +7,7 @@ ], "key": { "s": { - "item": "quickiefabric:speedpowder" + "item": "quickiefabric:speedingot" }, "c": { "item": "minecraft:chest" diff --git a/src/main/resources/data/quickiefabric/recipes/drill.json b/src/main/resources/data/quickiefabric/recipes/drill.json index 1806bf6..97d5b0b 100644 --- a/src/main/resources/data/quickiefabric/recipes/drill.json +++ b/src/main/resources/data/quickiefabric/recipes/drill.json @@ -1,16 +1,16 @@ { "type": "minecraft:crafting_shaped", "pattern": [ - "sss", - "srs", - "sss" + "q q", + "dqd", + " d " ], "key": { - "s": { - "item": "quickiefabric:speedpowder" + "q": { + "item": "quickiefabric:quickieingot" }, - "r": { - "item": "minecraft:redstone_block" + "d": { + "item": "minecraft:diamond" } }, "result": { diff --git a/src/main/resources/data/quickiefabric/recipes/drillstop.json b/src/main/resources/data/quickiefabric/recipes/drillstop.json index 7e76a15..b1cec83 100644 --- a/src/main/resources/data/quickiefabric/recipes/drillstop.json +++ b/src/main/resources/data/quickiefabric/recipes/drillstop.json @@ -1,15 +1,15 @@ { "type": "minecraft:crafting_shaped", "pattern": [ - "sss", - "srs", - "sss" + "ooo", + "oso", + "ooo" ], "key": { "s": { - "item": "quickiefabric:speedpowder" + "item": "quickiefabric:speedingot" }, - "r": { + "o": { "item": "minecraft:obsidian" } }, diff --git a/src/main/resources/data/quickiefabric/recipes/emptylavahoarder.json b/src/main/resources/data/quickiefabric/recipes/emptylavahoarder.json index 6fec377..a0ac6e4 100644 --- a/src/main/resources/data/quickiefabric/recipes/emptylavahoarder.json +++ b/src/main/resources/data/quickiefabric/recipes/emptylavahoarder.json @@ -2,15 +2,15 @@ "type": "minecraft:crafting_shaped", "pattern": [ "ooo", - "oso", + "obo", "ooo" ], "key": { "o": { "item": "minecraft:obsidian" }, - "s": { - "item": "quickiefabric:speedpowder" + "b": { + "item": "minecraft:bucket" } }, "result": { diff --git a/src/main/resources/data/quickiefabric/recipes/lavabucket_from_magmablock.json b/src/main/resources/data/quickiefabric/recipes/lavabucket_from_magmablock.json index ab61b85..5946bef 100644 --- a/src/main/resources/data/quickiefabric/recipes/lavabucket_from_magmablock.json +++ b/src/main/resources/data/quickiefabric/recipes/lavabucket_from_magmablock.json @@ -1,15 +1,15 @@ { - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "minecraft:bucket" - }, - { - "item": "minecraft:magma_block" - } - ], - "result": { - "item": "minecraft:lava_bucket", - "count": 1 - } -} + "type": "minecraft:smithing_trim", + "template": { + "item": "minecraft:magma_block" + }, + "base": { + "item": "minecraft:bucket" + }, + "addition": { + "item": "minecraft:torch" + }, + "result": { + "item": "minecraft:lava_bucket" + } +} \ No newline at end of file diff --git a/src/main/resources/data/quickiefabric/recipes/monsterhoarder.json b/src/main/resources/data/quickiefabric/recipes/monsterhoarder.json index 9bcdaba..f230dc1 100644 --- a/src/main/resources/data/quickiefabric/recipes/monsterhoarder.json +++ b/src/main/resources/data/quickiefabric/recipes/monsterhoarder.json @@ -1,15 +1,15 @@ { "type": "minecraft:crafting_shaped", "pattern": [ - "ooo", - "oso", - "ooo" + "qqq", + "qtq", + "qqq" ], "key": { - "o": { - "item": "quickiefabric:speedpowder" + "q": { + "item": "quickiefabric:quickieingot" }, - "s": { + "t": { "item": "minecraft:torch" } },