Package petrolpark.mc.library.mixin
Class ShapedRecipeMixin
java.lang.Object
petrolpark.mc.library.mixin.ShapedRecipeMixin
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>,IHandleFlagsMyselfRecipe<net.minecraft.world.item.crafting.CraftingInput>
public abstract class ShapedRecipeMixin
extends Object
implements IHandleFlagsMyselfRecipe<net.minecraft.world.item.crafting.CraftingInput>
Allow Shaped Recipes to propagate the Flags of the Ingredients to the result.
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanareFlagsHandled(net.minecraft.world.item.crafting.CraftingInput container, net.minecraft.core.HolderLookup.Provider registries) net.minecraft.world.item.ItemStackpetrolpark$propagateFlagsAndStartDecay(net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registries) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
assemble, canCraftInDimensions, getGroup, getIngredients, getRemainingItems, getResultItem, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial, matches, showNotification
-
Constructor Details
-
ShapedRecipeMixin
public ShapedRecipeMixin()
-
-
Method Details
-
petrolpark$propagateFlagsAndStartDecay
public net.minecraft.world.item.ItemStack petrolpark$propagateFlagsAndStartDecay(net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registries) -
areFlagsHandled
public boolean areFlagsHandled(@Nonnull net.minecraft.world.item.crafting.CraftingInput container, @Nonnull net.minecraft.core.HolderLookup.Provider registries) - Specified by:
areFlagsHandledin interfaceIHandleFlagsMyselfRecipe<net.minecraft.world.item.crafting.CraftingInput>
-