Class SealThingsRecipe

java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
at.petrak.hexcasting.common.recipe.SealThingsRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>

public class SealThingsRecipe extends net.minecraft.world.item.crafting.CustomRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<SealThingsRecipe>
     
     
    static final net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<SealThingsRecipe>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SealThingsRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category, SealThingsRecipe.Sealee sealee)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.core.RegistryAccess registryAccess)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    focus(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category)
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    boolean
    matches(net.minecraft.world.inventory.CraftingContainer container, net.minecraft.world.level.Level level)
     
    spellbook(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category)
     

    Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe

    category, getId, getResultItem, isSpecial

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe

    getType

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Field Details

    • sealee

      public final SealThingsRecipe.Sealee sealee
    • FOCUS_SERIALIZER

      public static final net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<SealThingsRecipe> FOCUS_SERIALIZER
    • SPELLBOOK_SERIALIZER

      public static final net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<SealThingsRecipe> SPELLBOOK_SERIALIZER
  • Constructor Details

    • SealThingsRecipe

      public SealThingsRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category, SealThingsRecipe.Sealee sealee)
  • Method Details

    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
    • matches

      public boolean matches(net.minecraft.world.inventory.CraftingContainer container, net.minecraft.world.level.Level level)
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.core.RegistryAccess registryAccess)
    • getSerializer

      @NotNull public @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
    • focus

      public static SealThingsRecipe focus(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category)
    • spellbook

      public static SealThingsRecipe spellbook(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.CraftingBookCategory category)