net.minecraft.world.item.crafting

public class SimpleCookingSerializer<T extends AbstractCookingRecipe>

implements RecipeSerializer<T>

cqo
net.minecraft.world.item.crafting.SimpleCookingSerializer
net.minecraft.class_3957
net.minecraft.recipe.CookingRecipeSerializer
net.minecraft.src.C_1481_
net.minecraft.world.item.crafting.RecipeSerializerCooking

Field summary

Modifier and TypeField
private final AbstractCookingRecipe$Factory<T>
x
factory
field_17552
recipeFactory
f_44328_
private final com.mojang.serialization.Codec<T>
y
codec
field_46105
codec
f_290983_

Constructor summary

ModifierConstructor
public (AbstractCookingRecipe$Factory<T> recipeFactory, int cookingTime)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.Codec<T>
a()
codec()
method_53736()
codec()
m_292673_()
public T
b(ui arg0)
fromNetwork(FriendlyByteBuf arg0)
method_17737(class_2540 arg0)
read(PacketByteBuf arg0)
m_8005_(C_4983_ arg0)
public void
a(ui arg0, T arg1)
toNetwork(FriendlyByteBuf arg0, T arg1)
method_17735(class_2540 arg0, T arg1)
write(PacketByteBuf arg0, T arg1)
m_6178_(C_4983_ p_44336_, T arg1)
public AbstractCookingRecipe
a(String arg0, cpr arg1, cpz arg2, cmy arg3, float arg4, int arg5)
create(String arg0, CookingBookCategory arg1, Ingredient arg2, ItemStack arg3, float arg4, int arg5)
method_55104(String arg0, class_7709 arg1, class_1856 arg2, class_1799 arg3, float arg4, int arg5)
create(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime)
m_306443_(String p_309654_, C_243575_ p_310924_, C_1462_ p_311755_, C_1391_ p_311505_, float p_311630_, int arg5)