fabric-api-lookup-api-v1
/
net.fabricmc.fabric.api.lookup.v1.block
/
BlockApiLookup
/
BlockApiProvider
Block
Api
Provider
public interface
BlockApiProvider
<A, C>
Content copied to clipboard
Functions
Sources
Functions
find
Link copied to clipboard
@
Nullable
()
abstract
A
find
(
World
world,
BlockPos
pos,
BlockState
state,
@
Nullable
()
BlockEntity
blockEntity,
C
context)
Content copied to clipboard
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