Jump to content

Nobisyu_12

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Nobisyu_12

  1. Never mind. I found it. Thanks for your help though
  2. Okay. Update on the situation. I have been doing some research/trial and error and I found out that instead of the "setHarvestLevel("pickaxe", 0)" line, they instead are two separate lines now. One being ".harvestLevel(0)" and" .harvestTool(ToolType harvestTool)". I understand the .harvestLevel part, but I don't know what it's asking for in the ToolType and harvestTool sections. I have put in things such as PickaxeItem and "pickaxe" but nothing seems to work.
  3. I don't quite understand how this would be done. Would I just put (for example): (Block.Properties.create(Material.ORGANIC).hardnessAndResistance(0.5f, 3.0f).setHarvestLevel("axe", 0).lightValue(0).sound(SoundType.PLANT))? Because I tried that and the response I got from Eclipse was that it said setHarvestLevel was undefined. Am I doing anything wrong here? Maybe I need to import a class or something. I really don't know.
  4. Hi. I am very new and not well versed in modding yet. I want to make a block have a specific harvest tool and level, but I don't know where to begin. I have the block working with drops and everything, but I cannot find how to do this. Through research I know I am supposed to use sub classes or something, but nowhere did I find a tutorial on how to set that up. I was wondering if anyone could help me with this. This is my modid.java file.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.