Class TeslaSynthesizerRecipe

java.lang.Object
tech.anonymoushacker1279.immersiveweapons.item.crafting.TeslaSynthesizerRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>

public class TeslaSynthesizerRecipe extends Object implements net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.item.crafting.Ingredient
     
    protected final int
     
    protected final String
     
    protected final net.minecraft.world.item.crafting.Ingredient
     
    protected final net.minecraft.world.item.crafting.Ingredient
     
    protected final net.minecraft.world.item.ItemStack
     

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

    CODEC, CONDITIONAL_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    TeslaSynthesizerRecipe(String group, net.minecraft.world.item.crafting.Ingredient blockIngredient, net.minecraft.world.item.crafting.Ingredient material1, net.minecraft.world.item.crafting.Ingredient material2, net.minecraft.world.item.ItemStack result, int cookTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.Container container, net.minecraft.core.RegistryAccess registryAccess)
     
    boolean
    canCraftInDimensions(int width, int height)
     
    int
     
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
     
    net.minecraft.world.item.ItemStack
    getResultItem(net.minecraft.core.RegistryAccess registryAccess)
     
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.item.crafting.RecipeType<?>
     
    boolean
     
    boolean
    matches(net.minecraft.world.Container container, net.minecraft.world.level.Level level)
     

    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.Recipe

    getRemainingItems, isIncomplete, showNotification
  • Field Details

    • blockIngredient

      protected final net.minecraft.world.item.crafting.Ingredient blockIngredient
    • material1

      protected final net.minecraft.world.item.crafting.Ingredient material1
    • material2

      protected final net.minecraft.world.item.crafting.Ingredient material2
    • result

      protected final net.minecraft.world.item.ItemStack result
    • cookTime

      protected final int cookTime
    • group

      protected final String group
  • Constructor Details

    • TeslaSynthesizerRecipe

      public TeslaSynthesizerRecipe(String group, net.minecraft.world.item.crafting.Ingredient blockIngredient, net.minecraft.world.item.crafting.Ingredient material1, net.minecraft.world.item.crafting.Ingredient material2, net.minecraft.world.item.ItemStack result, int cookTime)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.Container container, net.minecraft.world.level.Level level)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.Container container, net.minecraft.core.RegistryAccess registryAccess)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getResultItem

      public net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.RegistryAccess registryAccess)
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getToastSymbol

      public net.minecraft.world.item.ItemStack getToastSymbol()
      Specified by:
      getToastSymbol in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getType

      public net.minecraft.world.item.crafting.RecipeType<?> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getGroup

      public String getGroup()
      Specified by:
      getGroup in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()
      Specified by:
      getIngredients in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • isSpecial

      public boolean isSpecial()
      Specified by:
      isSpecial in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.Container>
    • getCookTime

      public int getCookTime()