getOrCreateBlockEntityState¶
fun getOrCreateBlockEntityState(pos: BlockPos): ComposeBlockEntityState
Gets or creates a Compose state for a block entity by position.
Return¶
The ComposeBlockEntityState for that position.
Parameters¶
- pos: The block position.