Class HorseScreenHandler

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

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

    • playerInv

      private Inventory playerInv
      Mappings:
      Namespace Name Mixin selector
      official a Lyx;a:Lpn;
      intermediary field_6933 Lnet/minecraft/class_1720;field_6933:Lnet/minecraft/class_849;
      named playerInv Lnet/minecraft/screen/HorseScreenHandler;playerInv:Lnet/minecraft/inventory/Inventory;
    • entity

      private HorseBaseEntity entity
      Mappings:
      Namespace Name Mixin selector
      official f Lyx;f:Lut;
      intermediary field_6934 Lnet/minecraft/class_1720;field_6934:Lnet/minecraft/class_1712;
      named entity Lnet/minecraft/screen/HorseScreenHandler;entity:Lnet/minecraft/entity/passive/HorseBaseEntity;
  • Constructor Details

  • Method Details

    • canUse

      public boolean canUse(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lyd;a(Lxk;)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 Lyd;b(Lxk;I)Labo;
      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;
    • close

      public void close(PlayerEntity player)
      Overrides:
      close in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lyd;b(Lxk;)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