
Ziplock_Jim
Members-
Content Count
3 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout Ziplock_Jim
-
Rank
Tree Puncher
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
-
[1.6.4] setting harvest level of vanilla minecraft blocks
Ziplock_Jim replied to Ziplock_Jim's topic in Modder Support
I guess I wasn't clear on this. I want to be able to break the block with my hands, but don't want the block to drop if I do. Like breaking stone without a pick, it breaks slower and doesn't drop anything when broken. I already have it working using events, I was just wondering if there was an easier way to do it. -
I'm trying to make it so you need an axe to harvest wood and a shovel to harvest dirt. I have tried to use the line MinecraftForge.setBlockHarvestLevel(Block.wood, "axe", 2); and also: MinecraftForge.setBlockHarvestLevel(Block.wood, 0, "axe", 1); MinecraftForge.setBlockHarvestLevel(Block.wood, 1, "axe", 1); MinecraftForge.setBlockHarvestLevel(Block.wood, 2, "axe", 1); MinecraftForge.setBlockHarvestLevel(Block.wood, 3, "axe", 1); But, none of these have any effect. I can still harvest wood with my hands. I have tried similar code for dirt blocks, but it also had no effect. However, if I use it on stone: MinecraftForge.setBlockHarvestLevel(Block.stone, "pickaxe", 2); Stone can only be mined with Iron or greater. Any ideas on why it would work on stone but not on wood or dirt?
-
I used these vids to learn how to make and generate trees. //Tree Generation //Biome Tree Generation