net.minecraft.world.inventory

public class Slot

crq
net.minecraft.world.inventory.Slot
net.minecraft.class_1735
net.minecraft.unmapped.C_nhvqfffd
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.Slot
net.minecraft.src.C_1305_
net.minecraft.world.inventory.ContainerProperties

Field summary

Modifier and TypeField
private final int
a
slot
field_7875
f_wcuzszur
index
index
f_40217_
public final Container
c
container
field_7871
f_pvwfulcn
inventory
inventory
f_40218_
public int
d
index
field_7874
f_eligecyh
id
id
f_40219_
public final int
e
x
field_7873
f_kbugtduk
x
x
f_40220_
public final int
f
y
field_7872
f_tttqoodj
y
y
f_40221_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(cuq arg0, cuq arg1)
onQuickCraft(ItemStack arg0, ItemStack arg1)
method_7670(class_1799 arg0, class_1799 arg1)
m_mttzezaw(C_sddaxwyk arg0, C_sddaxwyk arg1)
onQuickTransfer(ItemStack newItem, ItemStack original)
onQuickTransfer(ItemStack newItem, ItemStack original)
m_40234_(C_1391_ p_40236_, C_1391_ arg1)
protected void
a(cuq arg0, int arg1)
onQuickCraft(ItemStack arg0, int arg1)
method_7678(class_1799 arg0, int arg1)
m_cretsvya(C_sddaxwyk arg0, int arg1)
onCrafted(ItemStack stack, int amount)
onCrafted(ItemStack stack, int amount)
m_7169_(C_1391_ p_40233_, int arg1)
protected void
b(int arg0)
onSwapCraft(int arg0)
method_7672(int arg0)
m_oozyubwq(int arg0)
onTake(int amount)
onTake(int amount)
m_6405_(int arg0)
protected void
b_(cuq arg0)
checkTakeAchievements(ItemStack arg0)
method_7669(class_1799 arg0)
m_qswetdey(C_sddaxwyk arg0)
onCrafted(ItemStack stack)
onCrafted(ItemStack stack)
m_5845_(C_1391_ arg0)
public void
a(cmy arg0, cuq arg1)
onTake(Player arg0, ItemStack arg1)
method_7667(class_1657 arg0, class_1799 arg1)
m_mhmfuiek(C_jzrpycqo arg0, C_sddaxwyk arg1)
onTakeItem(PlayerEntity player, ItemStack stack)
onTakeItem(PlayerEntity player, ItemStack stack)
m_142406_(C_1141_ p_150646_, C_1391_ arg1)
public boolean
a(cuq arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
m_aanhfiva(C_sddaxwyk arg0)
canInsert(ItemStack stack)
canInsert(ItemStack stack)
m_5857_(C_1391_ arg0)
public ItemStack
g()
getItem()
method_7677()
m_glibtthh()
getStack()
getStack()
m_7993_()
public boolean
h()
hasItem()
method_7681()
m_nplssifi()
hasStack()
hasStack()
m_6657_()
public void
e(cuq arg0)
setByPlayer(ItemStack arg0)
method_53512(class_1799 arg0)
m_ltqlgmjy(C_sddaxwyk arg0)
setStack(ItemStack stack)
m_ltqlgmjy(ItemStack stack)
m_269060_(C_1391_ arg0)
public void
a(cuq arg0, cuq arg1)
setByPlayer(ItemStack arg0, ItemStack arg1)
method_48931(class_1799 arg0, class_1799 arg1)
m_fzmtuflx(C_sddaxwyk arg0, C_sddaxwyk arg1)
setStack(ItemStack stack, ItemStack previousStack)
setStack(ItemStack stack, ItemStack previousStack)
m_269206_(C_1391_ p_301385_, C_1391_ arg1)
public void
f(cuq arg0)
set(ItemStack arg0)
method_7673(class_1799 arg0)
m_fgnfiwnw(C_sddaxwyk arg0)
setStackNoCallbacks(ItemStack stack)
setStack(ItemStack stack)
m_5852_(C_1391_ arg0)
public void
b()
setChanged()
method_7668()
m_nbgsynpn()
markDirty()
markDirty()
m_6654_()
public int
a()
getMaxStackSize()
method_7675()
m_muunjget()
getMaxItemCount()
getMaxItemCount()
m_6641_()
public int
a_(cuq arg0)
getMaxStackSize(ItemStack arg0)
method_7676(class_1799 arg0)
m_bmphffps(C_sddaxwyk arg0)
getMaxItemCount(ItemStack stack)
getMaxItemCount(ItemStack stack)
m_5866_(C_1391_ arg0)
public com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation>
c()
getNoItemIcon()
method_7679()
m_kbnkhvdu()
getBackgroundSprite()
getBackgroundSprite()
m_7543_()
public ItemStack
a(int arg0)
remove(int arg0)
method_7671(int arg0)
m_udipwukr(int arg0)
takeStack(int amount)
takeStack(int amount)
m_6201_(int arg0)
public boolean
a(cmy arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
m_gfdrmwcy(C_jzrpycqo arg0)
canTakeItems(PlayerEntity playerEntity)
canTakeItems(PlayerEntity playerEntity)
m_8010_(C_1141_ arg0)
public boolean
d()
isActive()
method_7682()
m_pfrxhzch()
isEnabled()
isEnabled()
m_6659_()
public Optional<ItemStack>
a(int arg0, int arg1, cmy arg2)
tryRemove(int arg0, int arg1, Player arg2)
method_34264(int arg0, int arg1, class_1657 arg2)
m_zpueifjy(int arg0, int arg1, C_jzrpycqo arg2)
tryTakeStackRange(int min, int max, PlayerEntity player)
tryTakeStackRange(int min, int max, PlayerEntity player)
m_150641_(int p_150643_, int p_150644_, C_1141_ arg2)
public ItemStack
b(int arg0, int arg1, cmy arg2)
safeTake(int arg0, int arg1, Player arg2)
method_32753(int arg0, int arg1, class_1657 arg2)
m_yugqenov(int arg0, int arg1, C_jzrpycqo arg2)
takeStackRange(int min, int max, PlayerEntity player)
takeStackRange(int min, int max, PlayerEntity player)
m_150647_(int p_150649_, int p_150650_, C_1141_ arg2)
public ItemStack
d(cuq arg0)
safeInsert(ItemStack arg0)
method_32756(class_1799 arg0)
m_rfmwompe(C_sddaxwyk arg0)
insertStack(ItemStack stack)
insertStack(ItemStack stack)
m_150659_(C_1391_ arg0)
public ItemStack
b(cuq arg0, int arg1)
safeInsert(ItemStack arg0, int arg1)
method_32755(class_1799 arg0, int arg1)
m_tmtyccql(C_sddaxwyk arg0, int arg1)
insertStack(ItemStack stack, int count)
insertStack(ItemStack stack, int count)
m_150656_(C_1391_ p_150658_, int arg1)
public boolean
b(cmy arg0)
allowModification(Player arg0)
method_32754(class_1657 arg0)
m_oxoszauz(C_jzrpycqo arg0)
canTakePartial(PlayerEntity player)
canTakePartial(PlayerEntity player)
m_150651_(C_1141_ arg0)
public int
i()
getContainerSlot()
method_34266()
m_qlqvienf()
getIndex()
getIndex()
m_150661_()
public boolean
e()
isHighlightable()
method_51306()
m_uoldwsqq()
canBeHighlighted()
isHighlightable()
m_280329_()
public boolean
f()
isFake()
method_55059()
m_ekkqbbul()
disablesDynamicDisplay()
m_305540_()