Class CraftingScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.CraftingScreenHandler

public class CraftingScreenHandler
extends ScreenHandler
Mappings:
Namespace Name
official xq
intermediary net/minecraft/class_1994
named net/minecraft/screen/CraftingScreenHandler
  • Field Details

    • craftingInv

      public CraftingInventory craftingInv
      Mappings:
      Namespace Name Mixin selector
      official a Lxq;a:Lxp;
      intermediary field_8474 Lnet/minecraft/class_1994;field_8474:Lnet/minecraft/class_1993;
      named craftingInv Lnet/minecraft/screen/CraftingScreenHandler;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
    • resultInv

      public Inventory resultInv
      Mappings:
      Namespace Name Mixin selector
      official f Lxq;f:Log;
      intermediary field_8475 Lnet/minecraft/class_1994;field_8475:Lnet/minecraft/class_1718;
      named resultInv Lnet/minecraft/screen/CraftingScreenHandler;resultInv:Lnet/minecraft/inventory/Inventory;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official g Lxq;g:Ladm;
      intermediary field_8476 Lnet/minecraft/class_1994;field_8476:Lnet/minecraft/class_99;
      named world Lnet/minecraft/screen/CraftingScreenHandler;world:Lnet/minecraft/world/World;
    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official h Lxq;h:Lcj;
      intermediary field_8477 Lnet/minecraft/class_1994;field_8477:Lnet/minecraft/class_1372;
      named pos Lnet/minecraft/screen/CraftingScreenHandler;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • CraftingScreenHandler

      public CraftingScreenHandler​(PlayerInventory playerInventory, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxq;<init>(Lwm;Ladm;Lcj;)V
      intermediary <init> Lnet/minecraft/class_1994;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)V
      named <init> Lnet/minecraft/screen/CraftingScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • onContentChanged

      public void onContentChanged​(Inventory inventory)
      Overrides:
      onContentChanged in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lxi;a(Log;)V
      intermediary method_8101 Lnet/minecraft/class_1983;method_8101(Lnet/minecraft/class_1718;)V
      named onContentChanged Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
    • close

      public void close​(PlayerEntity player)
      Overrides:
      close in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lxi;b(Lwn;)V
      intermediary method_8117 Lnet/minecraft/class_1983;method_8117(Lnet/minecraft/class_1963;)V
      named close Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
    • canUse

      public boolean canUse​(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lxi;a(Lwn;)Z
      intermediary method_8104 Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • transferSlot

      public ItemStack transferSlot​(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lxi;b(Lwn;I)Lzx;
      intermediary method_8118 Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
    • canInsertIntoSlot

      public boolean canInsertIntoSlot​(ItemStack stack, Slot slot)
      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lxi;a(Lzx;Lyg;)Z
      intermediary method_8111 Lnet/minecraft/class_1983;method_8111(Lnet/minecraft/class_2056;Lnet/minecraft/class_2010;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z