Class ItemFacadeRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
org.cyclops.integrateddynamics.recipe.ItemFacadeRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe
,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class ItemFacadeRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
Recipe for combining facades with blocks.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.CustomRecipe.Serializer<T extends net.minecraft.world.item.crafting.CraftingRecipe>
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionItemFacadeRecipe
(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
assemble
(net.minecraft.world.item.crafting.CraftingInput grid, net.minecraft.core.HolderLookup.Provider registryAccess) net.minecraft.core.NonNullList
<net.minecraft.world.item.ItemStack> getRemainingItems
(net.minecraft.world.item.crafting.CraftingInput inventory) net.minecraft.world.item.ItemStack
net.minecraft.world.item.crafting.RecipeSerializer
<? extends net.minecraft.world.item.crafting.CustomRecipe> boolean
boolean
matches
(net.minecraft.world.item.crafting.CraftingInput grid, net.minecraft.world.level.Level world) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, placementInfo
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, recipeBookCategory
Methods inherited from interface net.minecraft.world.item.crafting.Recipe
display, group, showNotification
-
Constructor Details
-
ItemFacadeRecipe
public ItemFacadeRecipe(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory)
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.item.crafting.CraftingInput grid, net.minecraft.world.level.Level world) -
getResultItem
public net.minecraft.world.item.ItemStack getResultItem() -
getRemainingItems
public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput inventory) -
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput grid, net.minecraft.core.HolderLookup.Provider registryAccess) -
isSpecial
public boolean isSpecial()- Specified by:
isSpecial
in interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
- Overrides:
isSpecial
in classnet.minecraft.world.item.crafting.CustomRecipe
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.CustomRecipe> getSerializer()- Specified by:
getSerializer
in interfacenet.minecraft.world.item.crafting.CraftingRecipe
- Specified by:
getSerializer
in interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
- Specified by:
getSerializer
in classnet.minecraft.world.item.crafting.CustomRecipe
-