Class ServerRecipeBook

java.lang.Object
net.minecraft.recipe.book.RecipeBook
net.minecraft.server.network.ServerRecipeBook

public class ServerRecipeBook extends RecipeBook
Mappings:
Namespace Name
named net/minecraft/server/network/ServerRecipeBook
intermediary net/minecraft/class_3441
official avm
  • Field Details

    • RECIPE_BOOK_KEY

      public static final String RECIPE_BOOK_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RECIPE_BOOK_KEY Lnet/minecraft/server/network/ServerRecipeBook;RECIPE_BOOK_KEY:Ljava/lang/String;
      intermediary field_29820 Lnet/minecraft/class_3441;field_29820:Ljava/lang/String;
      official c Lavm;c:Ljava/lang/String;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/network/ServerRecipeBook;LOGGER:Lorg/slf4j/Logger;
      intermediary field_15303 Lnet/minecraft/class_3441;field_15303:Lorg/slf4j/Logger;
      official d Lavm;d:Lorg/slf4j/Logger;
  • Constructor Details

    • ServerRecipeBook

      public ServerRecipeBook()
  • Method Details

    • unlockRecipes

      public int unlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named unlockRecipes Lnet/minecraft/server/network/ServerRecipeBook;unlockRecipes(Ljava/util/Collection;Lnet/minecraft/server/network/ServerPlayerEntity;)I
      intermediary method_14903 Lnet/minecraft/class_3441;method_14903(Ljava/util/Collection;Lnet/minecraft/class_3222;)I
      official a Lavm;a(Ljava/util/Collection;Laqn;)I
    • lockRecipes

      public int lockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named lockRecipes Lnet/minecraft/server/network/ServerRecipeBook;lockRecipes(Ljava/util/Collection;Lnet/minecraft/server/network/ServerPlayerEntity;)I
      intermediary method_14900 Lnet/minecraft/class_3441;method_14900(Ljava/util/Collection;Lnet/minecraft/class_3222;)I
      official b Lavm;b(Ljava/util/Collection;Laqn;)I
    • sendUnlockRecipesPacket

      private void sendUnlockRecipesPacket(ChangeUnlockedRecipesS2CPacket.Action action, ServerPlayerEntity player, List<Identifier> recipeIds)
      Mappings:
      Namespace Name Mixin selector
      named sendUnlockRecipesPacket Lnet/minecraft/server/network/ServerRecipeBook;sendUnlockRecipesPacket(Lnet/minecraft/network/packet/s2c/play/ChangeUnlockedRecipesS2CPacket$Action;Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/List;)V
      intermediary method_14899 Lnet/minecraft/class_3441;method_14899(Lnet/minecraft/class_2713$class_2714;Lnet/minecraft/class_3222;Ljava/util/List;)V
      official a Lavm;a(Ladx$a;Laqn;Ljava/util/List;)V
    • toNbt

      public NbtCompound toNbt()
      Mappings:
      Namespace Name Mixin selector
      named toNbt Lnet/minecraft/server/network/ServerRecipeBook;toNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_14902 Lnet/minecraft/class_3441;method_14902()Lnet/minecraft/class_2487;
      official b Lavm;b()Ltx;
    • readNbt

      public void readNbt(NbtCompound nbt, RecipeManager recipeManager)
      Mappings:
      Namespace Name Mixin selector
      named readNbt Lnet/minecraft/server/network/ServerRecipeBook;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/recipe/RecipeManager;)V
      intermediary method_14901 Lnet/minecraft/class_3441;method_14901(Lnet/minecraft/class_2487;Lnet/minecraft/class_1863;)V
      official a Lavm;a(Ltx;Lcyn;)V
    • handleList

      private void handleList(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager)
      Mappings:
      Namespace Name Mixin selector
      named handleList Lnet/minecraft/server/network/ServerRecipeBook;handleList(Lnet/minecraft/nbt/NbtList;Ljava/util/function/Consumer;Lnet/minecraft/recipe/RecipeManager;)V
      intermediary method_20732 Lnet/minecraft/class_3441;method_20732(Lnet/minecraft/class_2499;Ljava/util/function/Consumer;Lnet/minecraft/class_1863;)V
      official a Lavm;a(Lud;Ljava/util/function/Consumer;Lcyn;)V
    • sendInitRecipesPacket

      public void sendInitRecipesPacket(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named sendInitRecipesPacket Lnet/minecraft/server/network/ServerRecipeBook;sendInitRecipesPacket(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_14904 Lnet/minecraft/class_3441;method_14904(Lnet/minecraft/class_3222;)V
      official a Lavm;a(Laqn;)V