Class RecipeDeadBush

java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
org.cyclops.evilcraft.core.recipe.type.RecipeDeadBush
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>

public class RecipeDeadBush extends net.minecraft.world.item.crafting.CustomRecipe
Recipe for crafting a dead bush using shears.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipeDeadBush(net.minecraft.resources.ResourceLocation id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.inventory.CraftingContainer inv)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
    getRemainingItems(net.minecraft.world.inventory.CraftingContainer inv)
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    boolean
    matches(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.world.level.Level worldIn)
     

    Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe

    getId, isSpecial

    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

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getGroup, getToastSymbol, isIncomplete
  • Constructor Details

    • RecipeDeadBush

      public RecipeDeadBush(net.minecraft.resources.ResourceLocation id)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.world.level.Level worldIn)
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.inventory.CraftingContainer inv)
    • getResultItem

      public net.minecraft.world.item.ItemStack getResultItem()
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
      Overrides:
      getResultItem in class net.minecraft.world.item.crafting.CustomRecipe
    • getIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()
    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
    • getRemainingItems

      public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.inventory.CraftingContainer inv)
    • getSerializer

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