Posted March 26, 20232 yr goods days im trying to cut a minecraft door in half using the cutting table and i want it to return the door pieces i alredy have the two parts of the block as individual block doors mercblk:birch_door_top_puerta, mercblk:birch_door_bottom_puerta i been experiment whit the recipes but no advances this don't woks buts the general idea { "type": "minecraft:stonecutting", "count": 1, "ingredient": { "item" : "minecraft:birch_door" }, "result" : ["mercblk:birch_door_top_puerta", "mercblk:birch_door_bottom_puerta"], "count" : 1 } the online recipe generators only has one output https://crafting.thedestruc7i0n.ca/ i think there must b a way could be an event triggering when using cutting table soo i can check if the output is mi "birch_door_top_puerta" then just drop the bottom part to player position or a function in the block class for when the item is crafted thank for your time
March 26, 20232 yr The stone cutter block (like other vanilla blocks) only has one output/result slot. So its recipes can only have 1 output. If you want something differernt, you will need to make your own block with its own recipes. Edited March 26, 20232 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
March 27, 20232 yr Author well them the second aproach i have this event code @SubscribeEvent public static void onCrafting(PlayerEvent.ItemCraftedEvent event) { ItemStack items = event.getCrafting(); Entity entity = event.getEntity(); Level warudo = entity.level; System.out.println("--------------" + ((warudo.isClientSide) ? " local world " : " server world ")); System.out.println("Crafted Description ID: " + items.getItem().getDescriptionId()); System.out.println("Count: " + items.getCount()); } everitime i craft something in the crafting table its print output -------------- local world Crafted Description ID: block.minecraft.birch_door Count: 3 -------------- server world Crafted Description ID: block.minecraft.birch_door Count: 3 its just only works for crafting table i need to find an equivalent for the cutting tabble
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.