Class AbstractCraftingScreenHandler

Direct Known Subclasses:
CraftingScreenHandler, PlayerScreenHandler

public abstract class AbstractCraftingScreenHandler extends AbstractRecipeScreenHandler
Mappings:
Namespace Name
named net/minecraft/screen/AbstractCraftingScreenHandler
intermediary net/minecraft/class_9884
official ctc
  • Field Details

    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/screen/AbstractCraftingScreenHandler;width:I
      intermediary field_52561 Lnet/minecraft/class_9884;field_52561:I
      official o Lctc;o:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/screen/AbstractCraftingScreenHandler;height:I
      intermediary field_52562 Lnet/minecraft/class_9884;field_52562:I
      official p Lctc;p:I
    • craftingInventory

      protected final RecipeInputInventory craftingInventory
      Mappings:
      Namespace Name Mixin selector
      named craftingInventory Lnet/minecraft/screen/AbstractCraftingScreenHandler;craftingInventory:Lnet/minecraft/inventory/RecipeInputInventory;
      intermediary field_52559 Lnet/minecraft/class_9884;field_52559:Lnet/minecraft/class_8566;
      official m Lctc;m:Lctt;
    • craftingResultInventory

      protected final CraftingResultInventory craftingResultInventory
      Mappings:
      Namespace Name Mixin selector
      named craftingResultInventory Lnet/minecraft/screen/AbstractCraftingScreenHandler;craftingResultInventory:Lnet/minecraft/inventory/CraftingResultInventory;
      intermediary field_52560 Lnet/minecraft/class_9884;field_52560:Lnet/minecraft/class_1731;
      official n Lctc;n:Lcut;
  • Constructor Details

    • AbstractCraftingScreenHandler

      public AbstractCraftingScreenHandler(ScreenHandlerType<?> type, int syncId, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/screen/AbstractCraftingScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;III)V
      intermediary <init> Lnet/minecraft/class_9884;<init>(Lnet/minecraft/class_3917;III)V
      official <init> Lctc;<init>(Lcuk;III)V
  • Method Details

    • addResultSlot

      protected Slot addResultSlot(PlayerEntity player, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named addResultSlot Lnet/minecraft/screen/AbstractCraftingScreenHandler;addResultSlot(Lnet/minecraft/entity/player/PlayerEntity;II)Lnet/minecraft/screen/slot/Slot;
      intermediary method_61625 Lnet/minecraft/class_9884;method_61625(Lnet/minecraft/class_1657;II)Lnet/minecraft/class_1735;
      official a Lctc;a(Lcpw;II)Lcuy;
    • addInputSlots

      protected void addInputSlots(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named addInputSlots Lnet/minecraft/screen/AbstractCraftingScreenHandler;addInputSlots(II)V
      intermediary method_61626 Lnet/minecraft/class_9884;method_61626(II)V
      official d Lctc;d(II)V
    • fillInputSlots

      public AbstractRecipeScreenHandler.PostFillAction fillInputSlots(boolean craftAll, boolean creative, RecipeEntry<?> recipe, ServerWorld world, PlayerInventory inventory)
      Specified by:
      fillInputSlots in class AbstractRecipeScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named fillInputSlots Lnet/minecraft/screen/AbstractRecipeScreenHandler;fillInputSlots(ZZLnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/AbstractRecipeScreenHandler$PostFillAction;
      intermediary method_17697 Lnet/minecraft/class_1729;method_17697(ZZLnet/minecraft/class_8786;Lnet/minecraft/class_3218;Lnet/minecraft/class_1661;)Lnet/minecraft/class_1729$class_9885;
      official a Lcuq;a(ZZLdci;Lash;Lcpv;)Lcuq$a;
    • onInputSlotFillStart

      protected void onInputSlotFillStart()
      Mappings:
      Namespace Name Mixin selector
      named onInputSlotFillStart Lnet/minecraft/screen/AbstractCraftingScreenHandler;onInputSlotFillStart()V
      intermediary method_59963 Lnet/minecraft/class_9884;method_59963()V
      official l Lctc;l()V
    • onInputSlotFillFinish

      protected void onInputSlotFillFinish(ServerWorld world, RecipeEntry<CraftingRecipe> recipe)
      Mappings:
      Namespace Name Mixin selector
      named onInputSlotFillFinish Lnet/minecraft/screen/AbstractCraftingScreenHandler;onInputSlotFillFinish(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/recipe/RecipeEntry;)V
      intermediary method_59964 Lnet/minecraft/class_9884;method_59964(Lnet/minecraft/class_3218;Lnet/minecraft/class_8786;)V
      official a Lctc;a(Lash;Ldci;)V
    • getOutputSlot

      public abstract Slot getOutputSlot()
      Mappings:
      Namespace Name Mixin selector
      named getOutputSlot Lnet/minecraft/screen/AbstractCraftingScreenHandler;getOutputSlot()Lnet/minecraft/screen/slot/Slot;
      intermediary method_61627 Lnet/minecraft/class_9884;method_61627()Lnet/minecraft/class_1735;
      official m Lctc;m()Lcuy;
    • getInputSlots

      public abstract List<Slot> getInputSlots()
      Mappings:
      Namespace Name Mixin selector
      named getInputSlots Lnet/minecraft/screen/AbstractCraftingScreenHandler;getInputSlots()Ljava/util/List;
      intermediary method_61628 Lnet/minecraft/class_9884;method_61628()Ljava/util/List;
      official n Lctc;n()Ljava/util/List;
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/screen/AbstractCraftingScreenHandler;getWidth()I
      intermediary method_61629 Lnet/minecraft/class_9884;method_61629()I
      official o Lctc;o()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/screen/AbstractCraftingScreenHandler;getHeight()I
      intermediary method_61630 Lnet/minecraft/class_9884;method_61630()I
      official p Lctc;p()I
    • getPlayer

      protected abstract PlayerEntity getPlayer()
      Mappings:
      Namespace Name Mixin selector
      named getPlayer Lnet/minecraft/screen/AbstractCraftingScreenHandler;getPlayer()Lnet/minecraft/entity/player/PlayerEntity;
      intermediary method_61631 Lnet/minecraft/class_9884;method_61631()Lnet/minecraft/class_1657;
      official q Lctc;q()Lcpw;
    • populateRecipeFinder

      public void populateRecipeFinder(RecipeFinder finder)
      Specified by:
      populateRecipeFinder in class AbstractRecipeScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named populateRecipeFinder Lnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeFinder;)V
      intermediary method_7654 Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_9875;)V
      official a Lcuq;a(Lcqb;)V