Jump to content

PogChamp

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by PogChamp

  1. So I've been following a tutorial on how to mod with eclipse and forge 1.12.2,and I made some blocks. The next episode, he showed how to make those blocks have certain things like harvest level, hardness, etc. My code looks something like this: import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; public class Leaves extends BlockBase { public Leaves(String name, Material material) { super(name, material); setHarvestLevel("shears", 2); Although I made harvest level shears, the item still drops when I break it with my fist. Im trying to make it so that it only drops when broken with shears, any fixes?
  2. So I've been following a tutorial on how to mod with eclipse and forge 1.12.2,and I made some blocks. The next episode, he showed how to make those blocks have certain things like harvest level, hardness, etc. My code looks something like this: import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; public class Leaves extends BlockBase { public Leaves(String name, Material material) { super(name, material); setHarvestLevel("shears", 2); Although I made harvest level shears, the item still drops when I break it with my fist. Im trying to make it so that it only drops when broken with shears, any fixes?
×
×
  • Create New...

Important Information

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