Class RecipeBookMechanicalCraftingRecipe

java.lang.Object
net.minecraft.world.item.crafting.ShapedRecipe
com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe
com.petrolpark.compat.create.core.recipe.RecipeBookMechanicalCraftingRecipe
All Implemented Interfaces:
IBookRequiredRecipe, INamedRecipe, net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

public class RecipeBookMechanicalCraftingRecipe extends com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe implements IBookRequiredRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<RecipeBookMechanicalCraftingRecipe>
     
    protected net.minecraft.network.chat.Component
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,RecipeBookMechanicalCraftingRecipe>
     

    Fields inherited from class net.minecraft.world.item.crafting.ShapedRecipe

    pattern, result

    Fields inherited from interface com.petrolpark.core.recipe.INamedRecipe

    UNKNOWN_RECIPE_TRANSLATION_KEY

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

    CONDITIONAL_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipeBookMechanicalCraftingRecipe(String groupIn, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
    getName(net.minecraft.resources.ResourceLocation recipeId)
     
    boolean
    isBookRequired(net.minecraft.world.level.Level level)
     
    protected void
    setName(net.minecraft.network.chat.Component name)
     

    Methods inherited from class com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe

    acceptsMirrored, getSerializer, getType, isSpecial, matches

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

    assemble, canCraftInDimensions, category, getGroup, getHeight, getIngredients, getResultItem, getWidth, isIncomplete, showNotification

    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.Recipe

    getRemainingItems, getToastSymbol
  • Field Details

  • Constructor Details

    • RecipeBookMechanicalCraftingRecipe

      public RecipeBookMechanicalCraftingRecipe(String groupIn, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
  • Method Details

    • isBookRequired

      public boolean isBookRequired(net.minecraft.world.level.Level level)
      Specified by:
      isBookRequired in interface IBookRequiredRecipe
    • setName

      protected void setName(net.minecraft.network.chat.Component name)
    • getName

      public net.minecraft.network.chat.Component getName(net.minecraft.resources.ResourceLocation recipeId)
      Specified by:
      getName in interface INamedRecipe