PogChamp
Members-
Posts
2 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
PogChamp's Achievements
Tree Puncher (2/8)
0
Reputation
-
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?
-
PogChamp joined the community
-
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?