Package net.minecraft.item.crafting
Class SpecialRecipe
- java.lang.Object
-
- net.minecraft.item.crafting.SpecialRecipe
-
- All Implemented Interfaces:
ICraftingRecipe,IRecipe<CraftingInventory>
- Direct Known Subclasses:
ArmorDyeRecipe,BannerDuplicateRecipe,BookCloningRecipe,FireworkRocketRecipe,FireworkStarFadeRecipe,FireworkStarRecipe,MapCloningRecipe,RepairItemRecipe,ShieldRecipes,ShulkerBoxColoringRecipe,SuspiciousStewRecipe,TippedArrowRecipe
public abstract class SpecialRecipe extends java.lang.Object implements ICraftingRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocationid
-
Constructor Summary
Constructors Constructor Description SpecialRecipe(ResourceLocation p_i48169_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocationgetId()ItemStackgetResultItem()booleanisSpecial()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.item.crafting.ICraftingRecipe
getType
-
Methods inherited from interface net.minecraft.item.crafting.IRecipe
assemble, canCraftInDimensions, getGroup, getIngredients, getRemainingItems, getSerializer, getToastSymbol, matches
-
-
-
-
Field Detail
-
id
private final ResourceLocation id
-
-
Constructor Detail
-
SpecialRecipe
public SpecialRecipe(ResourceLocation p_i48169_1_)
-
-
Method Detail
-
getId
public ResourceLocation getId()
- Specified by:
getIdin interfaceIRecipe<CraftingInventory>
-
isSpecial
public boolean isSpecial()
- Specified by:
isSpecialin interfaceIRecipe<CraftingInventory>
-
getResultItem
public ItemStack getResultItem()
- Specified by:
getResultItemin interfaceIRecipe<CraftingInventory>
-
-