Class AstralCrystalRecipe
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.item.crafting.AstralCrystalRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
public class AstralCrystalRecipe
extends Object
implements net.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.item.crafting.Recipe
net.minecraft.world.item.crafting.Recipe.BookInfo<CategoryType>, net.minecraft.world.item.crafting.Recipe.CommonInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AstralCrystalRecipe> static final net.minecraft.world.item.crafting.RecipeSerializer<AstralCrystalRecipe> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, AstralCrystalRecipe> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionAstralCrystalRecipe(String group, net.minecraft.world.item.crafting.Ingredient material, net.minecraft.world.item.crafting.Ingredient catalyst, net.minecraft.world.item.ItemStackTemplate result) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(AstralCrystalRecipeInput input) net.minecraft.world.item.crafting.Ingredientcatalyst()net.minecraft.world.item.crafting.RecipeSerializer<AstralCrystalRecipe> net.minecraft.world.item.crafting.RecipeType<AstralCrystalRecipe> getType()group()booleanbooleanmatches(AstralCrystalRecipeInput input, net.minecraft.world.level.Level level) net.minecraft.world.item.crafting.Ingredientmaterial()net.minecraft.world.item.crafting.PlacementInfonet.minecraft.world.item.crafting.RecipeBookCategorynet.minecraft.world.item.ItemStackTemplateresult()booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
display
-
Field Details
-
MAP_CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, AstralCrystalRecipe> STREAM_CODEC -
SERIALIZER
public static final net.minecraft.world.item.crafting.RecipeSerializer<AstralCrystalRecipe> SERIALIZER
-
-
Constructor Details
-
AstralCrystalRecipe
public AstralCrystalRecipe(String group, net.minecraft.world.item.crafting.Ingredient material, net.minecraft.world.item.crafting.Ingredient catalyst, net.minecraft.world.item.ItemStackTemplate result)
-
-
Method Details
-
group
- Specified by:
groupin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
result
public net.minecraft.world.item.ItemStackTemplate result() -
material
public net.minecraft.world.item.crafting.Ingredient material() -
catalyst
public net.minecraft.world.item.crafting.Ingredient catalyst() -
getSerializer
- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
getType
- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
recipeBookCategory
public net.minecraft.world.item.crafting.RecipeBookCategory recipeBookCategory()- Specified by:
recipeBookCategoryin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
matches
- Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
assemble
- Specified by:
assemblein interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
isSpecial
public boolean isSpecial()- Specified by:
isSpecialin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
showNotification
public boolean showNotification()- Specified by:
showNotificationin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-
placementInfo
public net.minecraft.world.item.crafting.PlacementInfo placementInfo()- Specified by:
placementInfoin interfacenet.minecraft.world.item.crafting.Recipe<AstralCrystalRecipeInput>
-