Class BlockMappings

java.lang.Object
org.geysermc.connector.registry.type.BlockMappings

public class BlockMappings extends Object
  • Constructor Details

    • BlockMappings

      public BlockMappings()
  • Method Details

    • getBedrockBlockId

      public int getBedrockBlockId(int state)
    • getJavaBlockState

      public int getJavaBlockState(int bedrockId)
    • getItemFrame

      public int getItemFrame(com.nukkitx.nbt.NbtMap tag)
    • isItemFrame

      public boolean isItemFrame(int bedrockBlockRuntimeId)
    • getBedrockBlockNbt

      public com.nukkitx.nbt.NbtMap getBedrockBlockNbt(String cleanJavaIdentifier)
      Parameters:
      cleanJavaIdentifier - the clean Java identifier of the block to look up
      Returns:
      the block tag of the block name mapped from Java to Bedrock.