Package net.minecraft.screen
Class HorseScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.HorseScreenHandler
public class HorseScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official xxintermediary net/minecraft/class_2001named net/minecraft/screen/HorseScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private HorseBaseEntityentityprivate InventoryplayerInvFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
Constructors Constructor Description HorseScreenHandler(Inventory inventory, Inventory playerInventory, HorseBaseEntity horse, PlayerEntity player) -
Method Summary
Modifier and Type Method Description booleancanUse(PlayerEntity player)voidclose(PlayerEntity player)ItemStacktransferSlot(PlayerEntity player, int invSlot)Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_8096, method_8102, onButtonClick, onContentChanged, onSlotClick, packClickData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
playerInv
- Mappings:
Namespace Name Mixin selector official aLxx;a:Log;intermediary field_8497Lnet/minecraft/class_2001;field_8497:Lnet/minecraft/class_1718;named playerInvLnet/minecraft/screen/HorseScreenHandler;playerInv:Lnet/minecraft/inventory/Inventory;
-
entity
- Mappings:
Namespace Name Mixin selector official fLxx;f:Ltp;intermediary field_8498Lnet/minecraft/class_2001;field_8498:Lnet/minecraft/class_1850;named entityLnet/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;)Vintermediary <init>Lnet/minecraft/class_2001;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;Lnet/minecraft/class_1850;Lnet/minecraft/class_1963;)Vnamed <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
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Lwn;)Zintermediary method_8104Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(Lwn;I)Lzx;intermediary method_8118Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(Lwn;)Vintermediary method_8117Lnet/minecraft/class_1983;method_8117(Lnet/minecraft/class_1963;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-