Interface IRecipeBookProviderBlock

All Known Implementing Classes:
ChiseledBookShelfBlockMixin

public interface IRecipeBookProviderBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Set<Pair<net.minecraft.core.BlockPos,IRecipeBookProviderBlock.ProvisionType>>
    getRecipeBookProvisions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    providesRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    default boolean
    shouldHighlightConnectedRecipeBookAcceptors(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    Stream<net.minecraft.world.item.crafting.RecipeHolder<?>>
    streamProvidedRecipeBooks(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Details

    • providesRecipeBook

      boolean providesRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • streamProvidedRecipeBooks

      Stream<net.minecraft.world.item.crafting.RecipeHolder<?>> streamProvidedRecipeBooks(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • shouldHighlightConnectedRecipeBookAcceptors

      default boolean shouldHighlightConnectedRecipeBookAcceptors(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • getRecipeBookProvisions

      default Set<Pair<net.minecraft.core.BlockPos,IRecipeBookProviderBlock.ProvisionType>> getRecipeBookProvisions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)