Class TeslaSynthesizerRecipe

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

public class TeslaSynthesizerRecipe extends Object implements net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
  • Field Details

    • MAP_CODEC

      public static final com.mojang.serialization.MapCodec<TeslaSynthesizerRecipe> MAP_CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, TeslaSynthesizerRecipe> STREAM_CODEC
    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<TeslaSynthesizerRecipe> SERIALIZER
  • Constructor Details

    • TeslaSynthesizerRecipe

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

    • group

      public String group()
      Specified by:
      group in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
    • result

      public net.minecraft.world.item.ItemStackTemplate result()
    • material1

      public net.minecraft.world.item.crafting.Ingredient material1()
    • material2

      public net.minecraft.world.item.crafting.Ingredient material2()
    • material3

      public net.minecraft.world.item.crafting.Ingredient material3()
    • getCookTime

      public int getCookTime()
    • getSerializer

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

      public net.minecraft.world.item.crafting.RecipeType<TeslaSynthesizerRecipe> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
    • recipeBookCategory

      public net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory()
      Specified by:
      recipeBookCategory in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
    • matches

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

      public net.minecraft.world.item.ItemStack assemble(TeslaSynthesizerRecipeInput input)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
    • isSpecial

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

      public boolean showNotification()
      Specified by:
      showNotification in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>
    • placementInfo

      public net.minecraft.world.item.crafting.PlacementInfo placementInfo()
      Specified by:
      placementInfo in interface net.minecraft.world.item.crafting.Recipe<TeslaSynthesizerRecipeInput>