ItemApiProvider

public interface ItemApiProvider<A, C>

Functions

find
Link copied to clipboard
@Nullable()
abstract A find(ItemStack itemStack, C context)
Return an API of type {@code A} if available for the given item stack with the given context, or {@code null} otherwise.

Sources

jvm source
Link copied to clipboard