Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

glifa

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

glifa's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. thanks, so are those java docs already out of date then ?
  2. 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 docs: (https://nekoyue.github.io/ForgeJavaDocs-NG/javadoc/1.17.1/net/minecraft/world/level/block/state/BlockBehaviour.Properties.html) Anyone know why this is happening ?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.