Render Attachment Block Entity
public interface RenderAttachmentBlockEntity
Content copied to clipboard
Interface for BlockEntitys which provide dynamic model state data.
Dynamic model state data is separate from BlockState, and will be cached during render chunk building on the main thread (safely) and accessible during chunk rendering on non-main threads.
For this reason, please ensure that all accesses to the passed model data are thread-safe. This can be achieved by, for example, passing a pre-generated immutable object, or ensuring all gets performed on the passed object are atomic and well-checked for unusual states.
Functions
getRenderAttachmentData
Link copied to clipboard
Inheritors
MixinBlockEntity
Link copied to clipboard
Sources
jvm source
Link copied to clipboard