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>

public class ManualOnlyCraftingRecipe extends WrappedCraftingRecipe
  • 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:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
      Overrides:
      matches in class WrappedCraftingRecipe
    • getExampleResult

      public net.minecraft.world.item.ItemStack getExampleResult(net.minecraft.core.HolderLookup.Provider registries)
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<ManualOnlyCraftingRecipe> getSerializer()