Class ManualOnlyCraftingRecipe
java.lang.Object
com.petrolpark.core.recipe.crafting.WrappedCraftingRecipe
com.petrolpark.core.recipe.crafting.ManualOnlyCraftingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
-
Field Summary
Fields inherited from class com.petrolpark.core.recipe.crafting.WrappedCraftingRecipe
wrappedRecipeFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionManualOnlyCraftingRecipe(net.minecraft.world.item.crafting.CraftingRecipe wrappedRecipe) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackgetExampleResult(net.minecraft.core.HolderLookup.Provider registries) net.minecraft.world.item.crafting.RecipeSerializer<ManualOnlyCraftingRecipe> static booleanisAllowed(net.minecraft.world.item.crafting.CraftingInput inv) booleanmatches(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.world.level.Level level) Methods inherited from class com.petrolpark.core.recipe.crafting.WrappedCraftingRecipe
assemble, canCraftInDimensions, category, getGroup, getIngredients, getRemainingItems, getResultItem, getToastSymbol, getWrappedRecipe, isSpecial, serializer, showNotificationMethods 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.CraftingRecipe
getTypeMethods inherited from interface net.minecraft.world.item.crafting.Recipe
isIncomplete
-
Constructor Details
-
ManualOnlyCraftingRecipe
public ManualOnlyCraftingRecipe(net.minecraft.world.item.crafting.CraftingRecipe wrappedRecipe)
-
-
Method Details
-
isAllowed
public static boolean isAllowed(net.minecraft.world.item.crafting.CraftingInput inv) -
matches
public boolean matches(@Nonnull net.minecraft.world.item.crafting.CraftingInput input, @Nonnull net.minecraft.world.level.Level level) - Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
matchesin classWrappedCraftingRecipe
-
getExampleResult
public net.minecraft.world.item.ItemStack getExampleResult(net.minecraft.core.HolderLookup.Provider registries) -
getSerializer
-