Class BlockEntityUtils

java.lang.Object
org.geysermc.geyser.util.BlockEntityUtils

public class BlockEntityUtils extends Object
  • Field Details

    • BLOCK_ENTITY_TRANSLATIONS

      public static final Map<org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityType,String> BLOCK_ENTITY_TRANSLATIONS
      Contains a list of irregular block entity name translations that can't be fit into the regex
  • Constructor Details

    • BlockEntityUtils

      public BlockEntityUtils()
  • Method Details

    • getBedrockBlockEntityId

      public static String getBedrockBlockEntityId(org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityType type)
    • getBlockEntityTranslator

      public static BlockEntityTranslator getBlockEntityTranslator(org.geysermc.mcprotocollib.protocol.data.game.level.block.BlockEntityType type)
    • updateBlockEntity

      public static void updateBlockEntity(GeyserSession session, @NonNull org.cloudburstmc.nbt.NbtMap blockEntity, org.cloudburstmc.math.vector.Vector3i position)