load Block
fun loadBlock(blockPosition: BlockPosition, schema: RebarBlockSchema, pdcData: PersistentDataContainer): RebarBlock?(source)
Manually loads Rebar block data at a location from a persistent data container that contains the serialised block. Only call on the main thread.
Return
The block that was loaded, or null if the block loading was cancelled
Throws
if the chunk of the given blockPosition is not loaded, the block already contains a Rebar block