getBlockEntityRenderAttachment

Object getBlockEntityRenderAttachment(BlockPos pos)

For models associated with Block Entities that implement RenderAttachmentBlockEntity this will be the most recent value provided by that implementation for the given block position.

Null in all other cases, or if the result from the implementation was null.

Parameters

pos

Position of the block for the block model.

Sources

jvm source
Link copied to clipboard