Interface BedrockChunkWantsBlockEntityTag

All Superinterfaces:
RequiresBlockState
All Known Implementing Classes:
CauldronBlock, FlowerPotBlock, LecternBlock, PistonBlock

public interface BedrockChunkWantsBlockEntityTag extends RequiresBlockState
Implemented only if a block is a block entity in Bedrock and not Java Edition.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cloudburstmc.nbt.NbtMap
    createTag(GeyserSession session, org.cloudburstmc.math.vector.Vector3i position, BlockState blockState)
    Get the tag of the Bedrock-only block entity.
  • Method Details

    • createTag

      org.cloudburstmc.nbt.NbtMap createTag(GeyserSession session, org.cloudburstmc.math.vector.Vector3i position, BlockState blockState)
      Get the tag of the Bedrock-only block entity. Used during chunk loading.
      Parameters:
      position - Bedrock position of block.
      blockState - Java BlockState of block.
      Returns:
      Bedrock tag