net.minecraft.stats

public class ServerRecipeBook

extends RecipeBook

axk
net.minecraft.stats.ServerRecipeBook
net.minecraft.class_3441
net.minecraft.server.network.ServerRecipeBook
net.minecraft.stats.RecipeBookServer

Field summary

Modifier and TypeField
public static final String
b
RECIPE_BOOK_TAG
field_29820
RECIPE_BOOK_KEY
private static final org.slf4j.Logger
e
LOGGER
field_15303
LOGGER
private final ServerRecipeBook$DisplayResolver
f
displayResolver
field_54552
collector
protected final Set<ResourceKey<Recipe<?>>>
c
known
field_54550
unlocked
protected final Set<ResourceKey<Recipe<?>>>
d
highlight
field_54551
highlighted

Constructor summary

ModifierConstructor
public (ServerRecipeBook$DisplayResolver collector)

Method summary

Modifier and TypeMethod
public void
a(aly<dce<?>> arg0)
add(ResourceKey<Recipe<?>> arg0)
method_64588(class_5321<class_1860<?>> arg0)
unlock(RegistryKey<Recipe<?>> recipeKey)
public boolean
b(aly<dce<?>> arg0)
contains(ResourceKey<Recipe<?>> arg0)
method_64593(class_5321<class_1860<?>> arg0)
isUnlocked(RegistryKey<Recipe<?>> recipeKey)
public void
c(aly<dce<?>> arg0)
remove(ResourceKey<Recipe<?>> arg0)
method_64594(class_5321<class_1860<?>> arg0)
lock(RegistryKey<Recipe<?>> recipeKey)
public void
d(aly<dce<?>> arg0)
removeHighlight(ResourceKey<Recipe<?>> arg0)
method_64595(class_5321<class_1860<?>> arg0)
unmarkHighlighted(RegistryKey<Recipe<?>> recipeKey)
private void
e(aly<dce<?>> arg0)
addHighlight(ResourceKey<Recipe<?>> arg0)
method_64596(class_5321<class_1860<?>> arg0)
markHighlighted(RegistryKey<Recipe<?>> recipeKey)
public int
a(Collection<dcj<?>> arg0, asi arg1)
addRecipes(Collection<RecipeHolder<?>> arg0, ServerPlayer arg1)
method_14903(Collection<class_8786<?>> arg0, class_3222 arg1)
unlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
public int
b(Collection<dcj<?>> arg0, asi arg1)
removeRecipes(Collection<RecipeHolder<?>> arg0, ServerPlayer arg1)
method_14900(Collection<class_8786<?>> arg0, class_3222 arg1)
lockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
public CompoundTag
b()
toNbt()
method_14902()
toNbt()
public void
a(ux arg0, Predicate<aly<dce<?>>> arg1)
fromNbt(CompoundTag arg0, Predicate<ResourceKey<Recipe<?>>> arg1)
method_14901(class_2487 arg0, Predicate<class_5321<class_1860<?>>> arg1)
readNbt(NbtCompound nbt, Predicate<RegistryKey<Recipe<?>>> validPredicate)
private void
a(vd arg0, Consumer<aly<dce<?>>> arg1, Predicate<aly<dce<?>>> arg2)
loadRecipes(ListTag arg0, Consumer<ResourceKey<Recipe<?>>> arg1, Predicate<ResourceKey<Recipe<?>>> arg2)
method_20732(class_2499 arg0, Consumer<class_5321<class_1860<?>>> arg1, Predicate<class_5321<class_1860<?>>> arg2)
handleList(NbtList list, Consumer<RegistryKey<Recipe<?>>> handler, Predicate<RegistryKey<Recipe<?>>> validPredicate)
public void
a(asi arg0)
sendInitialRecipeBook(ServerPlayer arg0)
method_14904(class_3222 arg0)
sendInitRecipesPacket(ServerPlayerEntity player)
public void
a(axk arg0)
copyOverData(ServerRecipeBook arg0)
method_64589(class_3441 arg0)
copyFrom(ServerRecipeBook recipeBook)