Class CraftingScreenHandler

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

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

    • craftingInv

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

      public CraftingResultInventory field_15644
      Mappings:
      Namespace Name Mixin selector
      official f Lafz;f:Lagn;
      intermediary field_15644 Lnet/minecraft/class_1012;field_15644:Lnet/minecraft/class_1024;
      named field_15644 Lnet/minecraft/screen/CraftingScreenHandler;field_15644:Lnet/minecraft/inventory/CraftingResultInventory;
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official g Lafz;g:Lamu;
      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 final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official h Lafz;h:Let;
      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;
    • field_15645

      private final PlayerEntity field_15645
      Mappings:
      Namespace Name Mixin selector
      official i Lafz;i:Laed;
      intermediary field_15645 Lnet/minecraft/class_1012;field_15645:Lnet/minecraft/class_988;
      named field_15645 Lnet/minecraft/screen/CraftingScreenHandler;field_15645:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • CraftingScreenHandler

      public CraftingScreenHandler(PlayerInventory playerInventory, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafz;<init>(Laec;Lamu;Let;)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 Lafr;a(Ltv;)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 Lafr;b(Laed;)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 Lafr;a(Laed;)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

      public ItemStack transferSlot(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lafr;b(Laed;I)Laip;
      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 Lafr;a(Laip;Lagr;)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