register For Block Entities
abstract void registerForBlockEntities(BlockApiLookup.BlockEntityApiProvider<A, C> provider, Array<BlockEntityType<? extends Object>> blockEntityTypes)
Content copied to clipboard
Expose the API for instances of the passed block entity types.The mapping from the parameters of the query to the API is handled by the passed BlockEntityApiProvider.
Parameters
provider
The provider.
blockEntityTypes
The block entity types.
Sources
jvm source
Link copied to clipboard