Class CraftingScreenHandler

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

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

    • craftingInv

      public CraftingInventory craftingInv
      Mappings:
      Namespace Name Mixin selector
      official a Labd;a:Labc;
      intermediary field_4106 Lnet/minecraft/class_1012;field_4106:Lnet/minecraft/class_1011;
      named craftingInv Lnet/minecraft/screen/CraftingScreenHandler;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
    • resultInv

      public Inventory resultInv
      Mappings:
      Namespace Name Mixin selector
      official f Labd;f:Lqg;
      intermediary field_4107 Lnet/minecraft/class_1012;field_4107:Lnet/minecraft/class_849;
      named resultInv Lnet/minecraft/screen/CraftingScreenHandler;resultInv:Lnet/minecraft/inventory/Inventory;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official g Labd;g:Laht;
      intermediary field_4108 Lnet/minecraft/class_1012;field_4108:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/screen/CraftingScreenHandler;world:Lnet/minecraft/world/World;
    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official h Labd;h:Lcl;
      intermediary field_12143 Lnet/minecraft/class_1012;field_12143:Lnet/minecraft/class_2552;
      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> Labd;<init>(Lzi;Laht;Lcl;)V
      intermediary <init> Lnet/minecraft/class_1012;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)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 Laau;a(Lqg;)V
      intermediary method_3254 Lnet/minecraft/class_1002;method_3254(Lnet/minecraft/class_849;)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 Laau;b(Lzj;)V
      intermediary method_3257 Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)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 Laau;a(Lzj;)Z
      intermediary method_3269 Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • transferSlot

      @Nullable public ItemStack transferSlot(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laau;b(Lzj;I)Ladq;
      intermediary method_3265 Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;
      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 Laau;a(Ladq;Labt;)Z
      intermediary method_5449 Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z