Package com.simibubi.create.api.packager
Interface InventoryIdentifier.Finder
- Enclosing interface:
InventoryIdentifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for finding an InventoryIdentifier for a block.
-
Method Summary
Modifier and TypeMethodDescription@Nullable InventoryIdentifierfind(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.createmod.catnip.math.BlockFace face) Attempt to find the InventoryIdentifier that contains the given BlockFace.
-
Method Details
-
find
@Nullable @Nullable InventoryIdentifier find(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.createmod.catnip.math.BlockFace face) Attempt to find the InventoryIdentifier that contains the given BlockFace.- Returns:
- the found identifier, or null if one isn't present
-