Class BlockMapping

java.lang.Object
org.geysermc.geyser.registry.type.BlockMapping

public class BlockMapping extends Object
  • Field Details

  • Constructor Details

    • BlockMapping

      public BlockMapping()
  • Method Details

    • getCleanJavaIdentifier

      public String getCleanJavaIdentifier()
      Returns:
      the identifier without the additional block states
    • getItemIdentifier

      public String getItemIdentifier()
      Returns:
      the corresponding Java identifier for this item
    • getPickItem

      public String 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