net.minecraft.recipe.crafting

public class FireworkStarCraftingRecipe

extends SpecialCraftingRecipe

All mapped superinterfaces:

CraftingRecipe, Recipe

net.minecraft.world.item.crafting.FireworkStarRecipe
net.minecraft.world.item.crafting.FireworkStarRecipe
net.minecraft.class_1_163
net.minecraft.recipe.crafting.FireworkStarCraftingRecipe

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FireworkStarCraftingRecipe>
MAP_CODEC
MAP_CODEC
field_1_1271
CODEC
public static final PacketCodec<RegistryByteBuf, FireworkStarCraftingRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1273
PACKET_CODEC
public static final RecipeSerializer<FireworkStarCraftingRecipe>
SERIALIZER
SERIALIZER
field_1_1272
SERIALIZER
private final Map<FireworkExplosionComponent$Type, Ingredient>
shapes
shapes
field_1_1277
shapes
private final Ingredient
trail
trail
field_1_1278
trail
private final Ingredient
twinkle
twinkle
field_1_1279
twinkle
private final Ingredient
fuel
fuel
field_1_1275
fuel
private final Ingredient
dye
dye
field_1_1274
dye
private final SimpleItemStackView
result
result
field_1_1276
result

Constructor summary

ModifierConstructor
public (Map<FireworkExplosionComponent$Type, Ingredient> shapes, Ingredient trail, Ingredient twinkle, Ingredient fuel, Ingredient dye, SimpleItemStackView result)

Method summary

Modifier and TypeMethod
private FireworkExplosionComponent$Type
findShape(ItemStack itemStack)
findShape(ItemStack itemStack)
method_1_1487(class_1799 arg0)
getShapeForItem(ItemStack stack)
public boolean
matches(CraftingInput input, Level level)
matches(CraftingInput input, Level level)
method_1_1501(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input)
assemble(CraftingInput input)
method_1_1486(class_9694 arg0)
craft(CraftingRecipeInput arg0)
public RecipeSerializer<FireworkStarCraftingRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()