Class HorseScreenHandler

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

public class HorseScreenHandler
extends ScreenHandler
Mappings:
Namespace Name
official xx
intermediary net/minecraft/class_2001
named net/minecraft/screen/HorseScreenHandler
  • Field Details

    • playerInv

      private Inventory playerInv
      Mappings:
      Namespace Name Mixin selector
      official a Lxx;a:Log;
      intermediary field_8497 Lnet/minecraft/class_2001;field_8497:Lnet/minecraft/class_1718;
      named playerInv Lnet/minecraft/screen/HorseScreenHandler;playerInv:Lnet/minecraft/inventory/Inventory;
    • entity

      private HorseBaseEntity entity
      Mappings:
      Namespace Name Mixin selector
      official f Lxx;f:Ltp;
      intermediary field_8498 Lnet/minecraft/class_2001;field_8498:Lnet/minecraft/class_1850;
      named entity Lnet/minecraft/screen/HorseScreenHandler;entity:Lnet/minecraft/entity/passive/HorseBaseEntity;
  • Constructor Details

    • HorseScreenHandler

      public HorseScreenHandler​(Inventory inventory, Inventory playerInventory, HorseBaseEntity horse, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxx;<init>(Log;Log;Ltp;Lwn;)V
      intermediary <init> Lnet/minecraft/class_2001;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;Lnet/minecraft/class_1850;Lnet/minecraft/class_1963;)V
      named <init> Lnet/minecraft/screen/HorseScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/passive/HorseBaseEntity;Lnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • 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;
    • 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