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.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.MapCodec<T>
y
codec
field_46105
codec
f_290983_
private final StreamCodec<RegistryFriendlyByteBuf, T>
z
streamCodec
field_48361
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()
codec()
m_292673_()
public StreamCodec<RegistryFriendlyByteBuf, T>
b()
streamCodec()
method_56104()
packetCodec()
m_318841_()
private T
a(wk arg0)
fromNetwork(RegistryFriendlyByteBuf arg0)
method_17737(class_9129 arg0)
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)
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)
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)