Posted August 17, 20214 yr .harvestTool() isnt working in the code below: The block doesnt mine any faster if i use a pickaxe and it wont drop even if i use a pickaxe. I commented out .requiresCorrectToolForDrops() and it dropped so i know that the loottable works.
August 17, 20214 yr Author Could you give me an example of adding a block to a tag i am a little confused on how to do it.
August 17, 20214 yr look in your IDE there is the client-extra.jar file inside there are the vanilla tags the first is okay, the others are wrong
August 17, 20214 yr the tag should be located in data/minecraft/tags/blocks/mineable/pickaxe and data/minecraft/tags/blocks/mineable/needs_iron_tool the file should look like yours but remove the minecaft entrys Edited August 26, 20214 yr by Luis_ST
August 17, 20214 yr Author just to confirm i create a new file called pickaxe.json and needs_iron_tool.json
August 25, 20214 yr On 8/18/2021 at 9:31 AM, Noah40 said: Exactly at the right side of the screenshot....
August 25, 20214 yr So what do I need to write in pickaxe.json ?? I searched for so long and I can't find anything that would help me
August 25, 20214 yr This is what I write , but it still don't work , I really don't understand what i'm doing wrong
August 25, 20214 yr the needs_iron_tool tag is in the wrong directory On 8/17/2021 at 9:54 PM, Luis_ST said: the tag should be located in data/minecraft/tags/blocks/mineable/pickaxe and data/minecraft/tags/blocks/mineable/needs_iron_tool Edited August 26, 20214 yr by Luis_ST
August 25, 20214 yr Oh so I create a package name minecraft.tags.blocks.mineable.pickaxe and then create a pickaxe.json file in it and another package minecraft.tags.blocks.mineable.need_iron_tool and then create a need_iron_tool.json in it ??
August 25, 20214 yr ups my mistake😅, it should be: pickaxe.json in 18 hours ago, Luis_ST said: data/minecraft/tags/blocks/mineable/pickaxe and need_iron_tool.json in 18 hours ago, Luis_ST said: data/minecraft/tags/blocks/needs_iron_tool Edited August 26, 20214 yr by Luis_ST
August 25, 20214 yr It's still not working , the block takes a really long time to break and don't drop with an iron pickaxe i'm sooo lost
August 25, 20214 yr compare this path with yours 18 hours ago, Luis_ST said: data/minecraft/tags/blocks/needs_iron_tool.json Edited August 26, 20214 yr by Luis_ST
August 25, 20214 yr My bad , I changed it but hum , still not working sadly Edited August 25, 20214 yr by Sotsuu
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.