BlockApiProvider

public interface BlockApiProvider<A, C>

Functions

find
Link copied to clipboard
@Nullable()
abstract A find(World world, BlockPos pos, BlockState state, @Nullable() BlockEntity blockEntity, C context)
Return an API of type {@code A} if available in the world at the given pos with the given context, or {@code null} otherwise.

Sources

jvm source
Link copied to clipboard