net.minecraft.world.item.crafting

public class SimpleCookingSerializer<T extends AbstractCookingRecipe>

implements RecipeSerializer<T>

czm
net.minecraft.world.item.crafting.SimpleCookingSerializer
net.minecraft.class_3957
net.minecraft.unmapped.C_nuvmhgvy
net.minecraft.recipe.CookingRecipeSerializer
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
f_giuttpun
recipeFactory
recipeFactory
f_44328_
private final com.mojang.serialization.MapCodec<T>
y
codec
field_46105
f_wlzqxfpq
codec
codec
f_290983_
private final StreamCodec<RegistryFriendlyByteBuf, T>
z
streamCodec
field_48361
f_wqsghihj
packetCodec
packetCodec
f_315376_

Constructor summary

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

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<T>
a()
codec()
method_53736()
m_ypbzaepi()
codec()
getCodec()
m_292673_()
public StreamCodec<RegistryFriendlyByteBuf, T>
b()
streamCodec()
method_56104()
m_bxaoiayj()
packetCodec()
getPacketCodec()
m_318841_()
private T
a(wk arg0)
fromNetwork(RegistryFriendlyByteBuf arg0)
method_17737(class_9129 arg0)
m_resmgrzl(C_bngyzsts arg0)
read(RegistryByteBuf buf)
read(RegistryByteBuf buf)
m_44343_(C_313350_ arg0)
private void
a(wk arg0, T arg1)
toNetwork(RegistryFriendlyByteBuf arg0, T arg1)
method_17735(class_9129 arg0, T arg1)
m_iklislsa(C_bngyzsts arg0, T arg1)
write(RegistryByteBuf buf, T recipe)
write(RegistryByteBuf buf, T recipe)
m_44337_(C_313350_ p_333006_, T arg1)
public AbstractCookingRecipe
a(String arg0, cyn arg1, cyw arg2, cuq 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)
m_pmzwogut(String arg0, C_gtxamkec arg1, C_tcpsydrv arg2, C_sddaxwyk arg3, float arg4, int arg5)
create(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime)
create(String group, CookingCategory category, Ingredient ingredient, ItemStack stack, float experience, int cookTime)
m_306443_(String p_309654_, C_243575_ p_310924_, C_1462_ p_311755_, C_1391_ p_311505_, float p_311630_, int arg5)