BlockEntityApiProvider

public interface BlockEntityApiProvider<A, C>

Functions

find
Link copied to clipboard
@Nullable()
abstract A find(BlockEntity blockEntity, C context)
Return an API of type {@code A} if available in the given block entity with the given context, or {@code null} otherwise.

Sources

jvm source
Link copied to clipboard