Class BlockMapping
java.lang.Object
org.geysermc.geyser.registry.type.BlockMapping
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the item a Java client would receive when pressing the Pick Block key on a specific Java block state.
-
Field Details
-
AIR
-
-
Constructor Details
-
BlockMapping
public BlockMapping()
-
-
Method Details
-
getCleanJavaIdentifier
- Returns:
- the identifier without the additional block states
-
getItemIdentifier
- Returns:
- the corresponding Java identifier for this item
-
getPickItem
Get the item a Java client would receive when pressing the Pick Block key on a specific Java block state.- Returns:
- The Java identifier of the item
-