Posted October 17, 20205 yr public class RubyBlock extends Block { public RubyBlock() { super(Properties.create(Material.IRON) .hardnessAndResistance(6.5f, 6.0f) .sound(SoundType.METAL) .harvestLevel(2) .harvestTool(ToolType.PICKAXE) ); } } this is my properties for block { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "mcthinks:ruby_block" } ] } ] } this is my loot table for block my block should only drop of it's a pickaxe and made of iron but he dropped in the test, even if it was anything a although it was not made of iron I watch tutorials and proceeded step by step, but it still didn't work for me my forge is forge-1.16.3-34.1.0-mdk
October 17, 20205 yr You also need to chain the setRequiresTool() method when creating the block properties in your RubyBlock class Edited October 17, 20205 yr by Beethoven92 Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
October 17, 20205 yr Author 58 minutes ago, Beethoven92 said: You also need to chain the setRequiresTool() method when creating the block properties in your RubyBlock class but setRequiresTool() "Cannot resolve method" it say and it's error Edited October 17, 20205 yr by Gabryelcz
October 17, 20205 yr You are using outdated mappings, update your mappings or use the func_235861_h_() method (which has been mapped to setRequiresTool in more recent mappings) instead of setRequiresTool Edited October 17, 20205 yr by Beethoven92 Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
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.