glifa
-
Posts
3 -
Joined
-
Last visited
Posts posted by glifa
-
-
I am trying to make a block like so
public static final RegistryObject<Block>SILVER_ORE = register("silver_ore", ()-> new Block(Block.Properties.of(Material.METAL) .strength(3.0f, 10.0f) .sound(SoundType.CHAIN) .requiresCorrectToolForDrops() .harvestLevel(3) ));
The problem is that the function harvestLevel is undefined for BlockBehaviour.Properties.
I have the docs open and I can see that the method is there, however its raising an error in the code
Anyone know why this is happening ?
1.17x Harvest Level function not found in Block Properties
in Modder Support
Posted
thanks, so are those java docs already out of date then ?