Package net.minecraft.world.inventory
Class HorseInventoryMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.HorseInventoryMenu
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Container
private final AbstractHorse
private final Container
private static final int
private static final int
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
-
Constructor Summary
ConstructorDescriptionHorseInventoryMenu
(int p_39656_, Inventory p_39657_, Container p_39658_, AbstractHorse p_39659_) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
hasChest
(AbstractHorse p_150578_) quickMoveStack
(Player p_39665_, int p_39666_) void
boolean
stillValid
(Player p_39661_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
horseContainer
-
armorContainer
-
horse
-
SLOT_BODY_ARMOR
private static final int SLOT_BODY_ARMOR- See Also:
-
SLOT_HORSE_INVENTORY_START
private static final int SLOT_HORSE_INVENTORY_START- See Also:
-
-
Constructor Details
-
HorseInventoryMenu
public HorseInventoryMenu(int p_39656_, Inventory p_39657_, Container p_39658_, AbstractHorse p_39659_)
-
-
Method Details
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
hasChest
-
quickMoveStack
- Specified by:
quickMoveStack
in classAbstractContainerMenu
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-