Class BlockMapping.BlockMappingBuilder
java.lang.Object
org.geysermc.geyser.registry.type.BlockMapping.BlockMappingBuilder
- Enclosing class:
- BlockMapping
-
Method Summary
Modifier and TypeMethodDescriptionbuild()canBreakWithHand(boolean canBreakWithHand)collisionIndex(int collisionIndex)The index of this collision in collision.jsonhardness(float hardness)isBlockEntity(boolean isBlockEntity)javaBlockId(int javaBlockId)The block ID shared between all different block states of this block.javaIdentifier(String javaIdentifier)pistonBehavior(PistonBehavior pistonBehavior)toString()
-
Method Details
-
javaIdentifier
- Returns:
this.
-
javaBlockId
The block ID shared between all different block states of this block. NOT the runtime ID!- Returns:
this.
-
hardness
- Returns:
this.
-
canBreakWithHand
- Returns:
this.
-
collisionIndex
The index of this collision in collision.json- Returns:
this.
-
pickItem
- Returns:
this.
-
pistonBehavior
- Returns:
this.
-
isBlockEntity
- Returns:
this.
-
build
-
toString
-