Package com.petrolpark.core.recipe.book
Interface IRecipeBookAcceptorBlock
- All Known Implementing Classes:
CrafterBlockMixin,CraftingTableBlockMixin
public interface IRecipeBookAcceptorBlock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsRecipeBook(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) default voidaddProxyRecipeBookAcceptorPositions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<net.minecraft.core.BlockPos> posAdder) default voidonAvailableRecipesChanged(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
Method Details
-
addProxyRecipeBookAcceptorPositions
default void addProxyRecipeBookAcceptorPositions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<net.minecraft.core.BlockPos> posAdder) -
onAvailableRecipesChanged
default void onAvailableRecipesChanged(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
acceptsRecipeBook
boolean acceptsRecipeBook(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)
-