net.minecraft.stats

public class ServerRecipeBook

extends RecipeBook

api
net.minecraft.stats.ServerRecipeBook
net.minecraft.class_3441
net.minecraft.server.network.ServerRecipeBook
net.minecraft.src.C_129_
net.minecraft.stats.RecipeBookServer

Field summary

Modifier and TypeField
public static final String
c
RECIPE_BOOK_TAG
field_29820
RECIPE_BOOK_KEY
f_144248_
private static final org.slf4j.Logger
d
LOGGER
field_15303
LOGGER
f_12786_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
a(Collection<cmk<?>> arg0, akr arg1)
addRecipes(Collection<RecipeHolder<?>> arg0, ServerPlayer arg1)
method_14903(Collection<class_8786<?>> arg0, class_3222 arg1)
unlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
m_12791_(Collection<C_290175_<?>> p_12793_, C_13_ arg1)
public int
b(Collection<cmk<?>> arg0, akr arg1)
removeRecipes(Collection<RecipeHolder<?>> arg0, ServerPlayer arg1)
method_14900(Collection<class_8786<?>> arg0, class_3222 arg1)
lockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
m_12806_(Collection<C_290175_<?>> p_12808_, C_13_ arg1)
private void
a(zd$a arg0, akr arg1, List<aew> arg2)
sendRecipes(ClientboundRecipePacket$State arg0, ServerPlayer arg1, List<ResourceLocation> arg2)
method_14899(class_2713$class_2714 arg0, class_3222 arg1, List<class_2960> arg2)
sendUnlockRecipesPacket(UnlockRecipesS2CPacket$Action action, ServerPlayerEntity player, List<Identifier> recipeIds)
m_12801_(C_5098_$C_5099_ p_12803_, C_13_ p_12804_, List<C_5265_> arg2)
public CompoundTag
b()
toNbt()
method_14902()
toNbt()
m_12805_()
public void
a(qw arg0, cml arg1)
fromNbt(CompoundTag arg0, RecipeManager arg1)
method_14901(class_2487 arg0, class_1863 arg1)
readNbt(NbtCompound nbt, RecipeManager recipeManager)
m_12794_(C_4917_ p_12796_, C_1470_ arg1)
private void
a(rc arg0, Consumer<cmk<?>> arg1, cml arg2)
loadRecipes(ListTag arg0, Consumer<RecipeHolder<?>> arg1, RecipeManager arg2)
method_20732(class_2499 arg0, Consumer<class_8786<?>> arg1, class_1863 arg2)
handleList(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager)
m_12797_(C_4930_ p_12799_, Consumer<C_290175_<?>> p_12800_, C_1470_ arg2)
public void
a(akr arg0)
sendInitialRecipeBook(ServerPlayer arg0)
method_14904(class_3222 arg0)
sendInitRecipesPacket(ServerPlayerEntity player)
m_12789_(C_13_ arg0)