Interface BedrockChunkWantsBlockEntityTag
- All Superinterfaces:
RequiresBlockState
- All Known Implementing Classes:
CauldronBlock,FlowerPotBlock,LecternBlock,PistonBlock
Implemented only if a block is a block entity in Bedrock and not Java Edition.
-
Method Summary
Modifier and TypeMethodDescriptionorg.cloudburstmc.nbt.NbtMapcreateTag(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
-