find
Attempt to retrieve an API from an item stack.
Note: An API may or may not allow the item stack to be modified by the returned instance.API authors are strongly encouraged to document this behavior so that implementors can referto the API documentation.While providers may capture a reference to the stack, it is expected that they do not modify it directly.
Return
The retrieved API, or {@code null}
if no API was found.
Parameters
itemStack
The item stack.
context
Additional context for the query, defined by type parameter C.
Sources
jvm source
Link copied to clipboard