Interface BlockApiLookup.BlockEntityApiProvider<A, C extends @Nullable Object>
- Enclosing interface:
BlockApiLookup<A, C extends @Nullable Object>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface BlockApiLookup.BlockEntityApiProvider<A, C extends @Nullable Object>
-
Method Summary
-
Method Details
-
find
Return an API of typeAif available in the given block entity with the given context, ornullotherwise.- Parameters:
blockEntity- The block entity. It is guaranteed that it is never null.context- Additional context passed to the query.- Returns:
- An API of type
A, ornullif no API is available.
-