net.minecraft.world.inventory

public abstract class AbstractContainerMenu

ayk
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.class_1703
net.minecraft.container.Container
net.minecraft.inventory.container.Container
net.minecraft.server.v1_14_R1.Container

Field summary

Modifier and TypeField
private final NonNullList<ItemStack>
c
lastSlots
field_7764
trackedStacks
field_75153_a
items
public final List<Slot>
a
slots
field_7761
slots
field_75151_b
slots
private final List<DataSlot>
d
dataSlots
field_17285
properties
field_216964_d
private final MenuType<?>
e
menuType
field_17493
type
field_216965_e
public final int
b
containerId
field_7763
syncId
field_75152_c
windowId
private int
g
quickcraftType
field_7762
quickCraftStage
field_94535_f
dragType
private int
h
quickcraftStatus
field_7759
quickCraftButton
field_94536_g
private final Set<Slot>
i
quickcraftSlots
field_7757
quickCraftSlots
field_94537_h
private final List<ContainerListener>
j
containerListeners
field_7765
listeners
field_75149_d
listeners
private final Set<Player>
k
unSynchedPlayers
field_7760
restrictedPlayers
field_75148_f
private short
f
changeUid
field_7758
actionId
field_75150_e

Constructor summary

ModifierConstructor
protected (MenuType<?> type, int syncId)

Method summary

Modifier and TypeMethod
protected static boolean
a(ayu arg0, awg arg1, bmv arg2)
stillValid(ContainerLevelAccess arg0, Player arg1, Block arg2)
method_17695(class_3914 arg0, class_1657 arg1, class_2248 arg2)
canUse(BlockContext context, PlayerEntity player, Block block)
func_216963_a(IWorldPosCallable arg0, PlayerEntity arg1, Block arg2)
public MenuType<?>
a()
getType()
method_17358()
getType()
func_216957_a()
getType()
protected static void
a(ahc arg0, int arg1)
checkContainerSize(Container arg0, int arg1)
method_17359(class_1263 arg0, int arg1)
checkContainerSize(Inventory arg0, int expectedSize)
func_216962_a(IInventory arg0, int arg1)
protected static void
a(ayt arg0, int arg1)
checkContainerDataCount(ContainerData arg0, int arg1)
method_17361(class_3913 arg0, int arg1)
checkContainerDataCount(PropertyDelegate data, int expectedCount)
func_216959_a(IIntArray arg0, int arg1)
protected Slot
a(azx arg0)
addSlot(Slot arg0)
method_7621(class_1735 arg0)
addSlot(Slot slot)
func_75146_a(Slot arg0)
protected DataSlot
a(ayy arg0)
addDataSlot(DataSlot arg0)
method_17362(class_3915 arg0)
addProperty(Property arg0)
func_216958_a(IntReferenceHolder arg0)
protected void
a(ayt arg0)
addDataSlots(ContainerData arg0)
method_17360(class_3913 arg0)
addProperties(PropertyDelegate arg0)
func_216961_a(IIntArray arg0)
public void
a(ayv arg0)
addSlotListener(ContainerListener arg0)
method_7596(class_1712 arg0)
addListener(ContainerListener listener)
func_75132_a(IContainerListener arg0)
addSlotListener(ICrafting arg0)
public NonNullList<ItemStack>
b()
getItems()
method_7602()
getStacks()
func_75138_a()
public void
c()
broadcastChanges()
method_7623()
sendContentUpdates()
func_75142_b()
public boolean
a(awg arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity player, int id)
func_75140_a(PlayerEntity arg0, int arg1)
public Slot
a(int arg0)
getSlot(int arg0)
method_7611(int arg0)
getSlot(int index)
func_75139_a(int arg0)
getSlot(int arg0)
public ItemStack
b(awg arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity player, int invSlot)
func_82846_b(PlayerEntity arg0, int arg1)
shiftClick(EntityHuman arg0, int arg1)
public ItemStack
a(int arg0, int arg1, ays arg2, awg arg3)
clicked(int arg0, int arg1, ClickType arg2, Player arg3)
method_7593(int arg0, int arg1, class_1713 arg2, class_1657 arg3)
onSlotClick(int slotId, int clickData, SlotActionType actionType, PlayerEntity arg3)
func_184996_a(int arg0, int arg1, ClickType arg2, PlayerEntity arg3)
public static boolean
a(bcj arg0, bcj arg1)
consideredTheSameItem(ItemStack arg0, ItemStack arg1)
method_7612(class_1799 arg0, class_1799 arg1)
canStacksCombine(ItemStack first, ItemStack second)
func_195929_a(ItemStack arg0, ItemStack arg1)
public boolean
a(bcj arg0, azx arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack stack, Slot slot)
func_94530_a(ItemStack arg0, Slot arg1)
public void
b(awg arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity player)
func_75134_a(PlayerEntity arg0)
protected void
a(awg arg0, bhr arg1, ahc arg2)
clearContainer(Player arg0, Level arg1, Container arg2)
method_7607(class_1657 arg0, class_1937 arg1, class_1263 arg2)
dropInventory(PlayerEntity player, World world, Inventory inventory)
func_193327_a(PlayerEntity arg0, World arg1, IInventory arg2)
public void
a(ahc arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory inventory)
func_75130_a(IInventory arg0)
public void
a(int arg0, bcj arg1)
setItem(int arg0, ItemStack arg1)
method_7619(int arg0, class_1799 arg1)
setStackInSlot(int slot, ItemStack stack)
func_75141_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public void
a(int arg0, int arg1)
setData(int arg0, int arg1)
method_7606(int arg0, int arg1)
setProperty(int id, int value)
func_75137_b(int arg0, int arg1)
public boolean
c(awg arg0)
isSynched(Player arg0)
method_7622(class_1657 arg0)
isNotRestricted(PlayerEntity player)
func_75129_b(PlayerEntity arg0)
public void
a(awg arg0, boolean arg1)
setSynched(Player arg0, boolean arg1)
method_7590(class_1657 arg0, boolean arg1)
setPlayerRestriction(PlayerEntity player, boolean unrestricted)
func_75128_a(PlayerEntity arg0, boolean arg1)
public abstract boolean
a(awg arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity player)
func_75145_c(PlayerEntity arg0)
canUse(EntityHuman arg0)
protected boolean
a(bcj arg0, int arg1, int arg2, boolean arg3)
moveItemStackTo(ItemStack arg0, int arg1, int arg2, boolean arg3)
method_7616(class_1799 arg0, int arg1, int arg2, boolean arg3)
insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast)
func_75135_a(ItemStack arg0, int arg1, int arg2, boolean arg3)
public static int
b(int arg0)
getQuickcraftType(int arg0)
method_7620(int arg0)
unpackQuickCraftStage(int clickData)
func_94529_b(int arg0)
public static int
c(int arg0)
getQuickcraftHeader(int arg0)
method_7594(int arg0)
unpackButtonId(int clickData)
func_94532_c(int arg0)
public static boolean
a(int arg0, awg arg1)
isValidQuickcraftType(int arg0, Player arg1)
method_7600(int arg0, class_1657 arg1)
shouldQuickCraftContinue(int arg0, PlayerEntity arg1)
func_180610_a(int arg0, PlayerEntity arg1)
protected void
d()
resetQuickCraft()
method_7605()
endQuickCraft()
func_94533_d()
public static boolean
a(azx arg0, bcj arg1, boolean arg2)
canItemQuickReplace(Slot arg0, ItemStack arg1, boolean arg2)
method_7592(class_1735 arg0, class_1799 arg1, boolean arg2)
canInsertItemIntoSlot(Slot slot, ItemStack stack, boolean arg2)
func_94527_a(Slot arg0, ItemStack arg1, boolean arg2)
public static void
a(Set<azx> arg0, int arg1, bcj arg2, int arg3)
getQuickCraftSlotCount(Set<Slot> arg0, int arg1, ItemStack arg2, int arg3)
method_7617(Set<class_1735> arg0, int arg1, class_1799 arg2, int arg3)
calculateStackSize(Set<Slot> slots, int rmode, ItemStack stack, int stackSize)
func_94525_a(Set<Slot> arg0, int arg1, ItemStack arg2, int arg3)
public boolean
b(azx arg0)
canDragTo(Slot arg0)
method_7615(class_1735 arg0)
canInsertIntoSlot(Slot arg0)
func_94531_b(Slot arg0)
public static int
a(btw arg0)
getRedstoneSignalFromBlockEntity(BlockEntity arg0)
method_7608(class_2586 arg0)
calculateComparatorOutput(BlockEntity entity)
func_178144_a(TileEntity arg0)
public static int
b(ahc arg0)
getRedstoneSignalFromContainer(Container arg0)
method_7618(class_1263 arg0)
calculateComparatorOutput(Inventory inventory)
func_94526_b(IInventory arg0)
public void
b(ayv arg0)
removeSlotListener(ContainerListener arg0)
method_7603(class_1712 arg0)
removeListener(ContainerListener listener)
func_82847_b(IContainerListener arg0)
public void
a(List<bcj> arg0)
setAll(List<ItemStack> arg0)
method_7610(List<class_1799> arg0)
updateSlotStacks(List<ItemStack> stacks)
func_190896_a(List<ItemStack> arg0)
public short
a(awf arg0)
backup(Inventory arg0)
method_7614(class_1661 arg0)
getNextActionId(PlayerInventory arg0)
func_75136_a(PlayerInventory arg0)
public static int
b(int arg0, int arg1)
getQuickcraftMask(int arg0, int arg1)
method_7591(int arg0, int arg1)
packClickData(int buttonId, int quickCraftStage)
func_94534_d(int arg0, int arg1)