Package net.minecraft.server.network
Class ServerRecipeBook
java.lang.Object
net.minecraft.recipe.book.RecipeBook
net.minecraft.server.network.ServerRecipeBook
- Mappings:
Namespace Name named net/minecraft/server/network/ServerRecipeBookintermediary net/minecraft/class_3441official avu
-
Field Summary
FieldsFields inherited from class net.minecraft.recipe.book.RecipeBook
recipes, toBeDisplayed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidhandleList(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager) intlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player) voidreadNbt(NbtCompound nbt, RecipeManager recipeManager) voidprivate voidsendUnlockRecipesPacket(ChangeUnlockedRecipesS2CPacket.Action action, ServerPlayerEntity player, List<Identifier> recipeIds) toNbt()intunlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player) Methods inherited from class net.minecraft.recipe.book.RecipeBook
add, add, contains, contains, copyFrom, display, display, getOptions, isFilteringCraftable, isFilteringCraftable, isGuiOpen, onRecipeDisplayed, remove, remove, setCategoryOptions, setFilteringCraftable, setGuiOpen, setOptions, shouldDisplay
-
Field Details
-
RECIPE_BOOK_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named RECIPE_BOOK_KEYLnet/minecraft/server/network/ServerRecipeBook;RECIPE_BOOK_KEY:Ljava/lang/String;intermediary field_29820Lnet/minecraft/class_3441;field_29820:Ljava/lang/String;official cLavu;c:Ljava/lang/String;
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/network/ServerRecipeBook;LOGGER:Lorg/slf4j/Logger;intermediary field_15303Lnet/minecraft/class_3441;field_15303:Lorg/slf4j/Logger;official dLavu;d:Lorg/slf4j/Logger;
-
-
Constructor Details
-
ServerRecipeBook
public ServerRecipeBook()
-
-
Method Details
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector named unlockRecipesLnet/minecraft/server/network/ServerRecipeBook;unlockRecipes(Ljava/util/Collection;Lnet/minecraft/server/network/ServerPlayerEntity;)Iintermediary method_14903Lnet/minecraft/class_3441;method_14903(Ljava/util/Collection;Lnet/minecraft/class_3222;)Iofficial aLavu;a(Ljava/util/Collection;Laqv;)I
-
lockRecipes
- Mappings:
Namespace Name Mixin selector named lockRecipesLnet/minecraft/server/network/ServerRecipeBook;lockRecipes(Ljava/util/Collection;Lnet/minecraft/server/network/ServerPlayerEntity;)Iintermediary method_14900Lnet/minecraft/class_3441;method_14900(Ljava/util/Collection;Lnet/minecraft/class_3222;)Iofficial bLavu;b(Ljava/util/Collection;Laqv;)I
-
sendUnlockRecipesPacket
private void sendUnlockRecipesPacket(ChangeUnlockedRecipesS2CPacket.Action action, ServerPlayerEntity player, List<Identifier> recipeIds) - Mappings:
Namespace Name Mixin selector named sendUnlockRecipesPacketLnet/minecraft/server/network/ServerRecipeBook;sendUnlockRecipesPacket(Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket$Action;Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/List;)Vintermediary method_14899Lnet/minecraft/class_3441;method_14899(Lnet/minecraft/class_2713$class_2714;Lnet/minecraft/class_3222;Ljava/util/List;)Vofficial aLavu;a(Laee$a;Laqv;Ljava/util/List;)V
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbtLnet/minecraft/server/network/ServerRecipeBook;toNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_14902Lnet/minecraft/class_3441;method_14902()Lnet/minecraft/class_2487;official bLavu;b()Lub;
-
readNbt
- Mappings:
Namespace Name Mixin selector named readNbtLnet/minecraft/server/network/ServerRecipeBook;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/recipe/RecipeManager;)Vintermediary method_14901Lnet/minecraft/class_3441;method_14901(Lnet/minecraft/class_2487;Lnet/minecraft/class_1863;)Vofficial aLavu;a(Lub;Lczd;)V
-
handleList
private void handleList(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager) - Mappings:
Namespace Name Mixin selector named handleListLnet/minecraft/server/network/ServerRecipeBook;handleList(Lnet/minecraft/nbt/NbtList;Ljava/util/function/Consumer;Lnet/minecraft/recipe/RecipeManager;)Vintermediary method_20732Lnet/minecraft/class_3441;method_20732(Lnet/minecraft/class_2499;Ljava/util/function/Consumer;Lnet/minecraft/class_1863;)Vofficial aLavu;a(Luh;Ljava/util/function/Consumer;Lczd;)V
-
sendInitRecipesPacket
- Mappings:
Namespace Name Mixin selector named sendInitRecipesPacketLnet/minecraft/server/network/ServerRecipeBook;sendInitRecipesPacket(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_14904Lnet/minecraft/class_3441;method_14904(Lnet/minecraft/class_3222;)Vofficial aLavu;a(Laqv;)V
-