net.minecraft.world.inventory

public class Slot

cuz
net.minecraft.world.inventory.Slot
net.minecraft.class_1735
net.minecraft.screen.slot.Slot
net.minecraft.world.inventory.Slot

Field summary

Modifier and TypeField
private final int
a
slot
field_7875
index
public final Container
c
container
field_7871
inventory
public int
d
index
field_7874
id
public final int
e
x
field_7873
x
public final int
f
y
field_7872
y

Constructor summary

ModifierConstructor
public (Container inventory, int index, int x, int y)

Method summary

Modifier and TypeMethod
public void
b(cxp arg0, cxp arg1)
onQuickCraft(ItemStack arg0, ItemStack arg1)
method_7670(class_1799 arg0, class_1799 arg1)
onQuickTransfer(ItemStack newItem, ItemStack original)
protected void
a(cxp arg0, int arg1)
onQuickCraft(ItemStack arg0, int arg1)
method_7678(class_1799 arg0, int arg1)
onCrafted(ItemStack stack, int amount)
protected void
b(int arg0)
onSwapCraft(int arg0)
method_7672(int arg0)
onTake(int amount)
protected void
b_(cxp arg0)
checkTakeAchievements(ItemStack arg0)
method_7669(class_1799 arg0)
onCrafted(ItemStack stack)
public void
a(cpx arg0, cxp arg1)
onTake(Player arg0, ItemStack arg1)
method_7667(class_1657 arg0, class_1799 arg1)
onTakeItem(PlayerEntity player, ItemStack stack)
public boolean
a(cxp arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
canInsert(ItemStack stack)
public ItemStack
g()
getItem()
method_7677()
getStack()
public boolean
h()
hasItem()
method_7681()
hasStack()
public void
e(cxp arg0)
setByPlayer(ItemStack arg0)
method_53512(class_1799 arg0)
setStack(ItemStack stack)
public void
a(cxp arg0, cxp arg1)
setByPlayer(ItemStack arg0, ItemStack arg1)
method_48931(class_1799 arg0, class_1799 arg1)
setStack(ItemStack stack, ItemStack previousStack)
public void
f(cxp arg0)
set(ItemStack arg0)
method_7673(class_1799 arg0)
setStackNoCallbacks(ItemStack stack)
public void
c()
setChanged()
method_7668()
markDirty()
public int
a()
getMaxStackSize()
method_7675()
getMaxItemCount()
public int
a_(cxp arg0)
getMaxStackSize(ItemStack arg0)
method_7676(class_1799 arg0)
getMaxItemCount(ItemStack stack)
public com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation>
b()
getNoItemIcon()
method_7679()
getBackgroundSprite()
public ItemStack
a(int arg0)
remove(int arg0)
method_7671(int arg0)
takeStack(int amount)
public boolean
a(cpx arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
canTakeItems(PlayerEntity playerEntity)
public boolean
d()
isActive()
method_7682()
isEnabled()
public Optional<ItemStack>
a(int arg0, int arg1, cpx arg2)
tryRemove(int arg0, int arg1, Player arg2)
method_34264(int arg0, int arg1, class_1657 arg2)
tryTakeStackRange(int min, int max, PlayerEntity player)
public ItemStack
b(int arg0, int arg1, cpx arg2)
safeTake(int arg0, int arg1, Player arg2)
method_32753(int arg0, int arg1, class_1657 arg2)
takeStackRange(int min, int max, PlayerEntity player)
public ItemStack
d(cxp arg0)
safeInsert(ItemStack arg0)
method_32756(class_1799 arg0)
insertStack(ItemStack stack)
public ItemStack
b(cxp arg0, int arg1)
safeInsert(ItemStack arg0, int arg1)
method_32755(class_1799 arg0, int arg1)
insertStack(ItemStack stack, int count)
public boolean
b(cpx arg0)
allowModification(Player arg0)
method_32754(class_1657 arg0)
canTakePartial(PlayerEntity player)
public int
i()
getContainerSlot()
method_34266()
getIndex()
public boolean
e()
isHighlightable()
method_51306()
canBeHighlighted()
public boolean
f()
isFake()
method_55059()
disablesDynamicDisplay()