-
-
Method Summary
static boolean
acceptsRecipe(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
static void
addProxyRecipeBookAcceptorPositions(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos acceptorPos,
net.minecraft.world.level.block.state.BlockState acceptorState,
Consumer<net.minecraft.core.BlockPos> posAdder)
checkedCast(net.minecraft.world.item.crafting.Recipe<?> recipe)
static boolean
hasRequiredBook(net.minecraft.world.level.block.entity.BlockEntity be,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
static boolean
hasRequiredBook(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
boolean
static boolean
isRecipeBookAcceptor(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state)
-
Method Details
-
isBookRequired
boolean isBookRequired(net.minecraft.world.level.Level level)
-
checkedCast
@Nullable
static IBookRequiredRecipe checkedCast(net.minecraft.world.item.crafting.Recipe<?> recipe)
-
hasRequiredBook
static boolean hasRequiredBook(net.minecraft.world.level.block.entity.BlockEntity be,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
-
hasRequiredBook
static boolean hasRequiredBook(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
-
isRecipeBookAcceptor
static boolean isRecipeBookAcceptor(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state)
-
acceptsRecipe
static boolean acceptsRecipe(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
-
addProxyRecipeBookAcceptorPositions
static void addProxyRecipeBookAcceptorPositions(net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos acceptorPos,
net.minecraft.world.level.block.state.BlockState acceptorState,
Consumer<net.minecraft.core.BlockPos> posAdder)