register Self
abstract void registerSelf(Array<BlockEntityType<? extends Object>> blockEntityTypes)
Content copied to clipboard
Expose the API for the passed block entities directly implementing it.
Implementation note: this is checked at registration time by creating block entity instances using the passed types.
Parameters
blockEntityTypes
Block entity types for which to expose the API.
Throws
If the API class is not assignable from instances of the passed block entity types.
Sources
jvm source
Link copied to clipboard