net.minecraft.world.inventory

public class Slot

byd
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.Slot

Field summary

Modifier and TypeField
private final int
a
slot
field_7875
f_wcuzszur
index
index
f_40217_
public final Container
d
container
field_7871
f_pvwfulcn
inventory
inventory
f_40218_
public int
e
index
field_7874
f_eligecyh
id
id
f_40219_
public final int
f
x
field_7873
f_kbugtduk
x
x
f_40220_
public final int
g
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
a(cax arg0, cax 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(cax 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_(cax 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(buc arg0, cax 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(cax 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
e()
getItem()
method_7677()
m_glibtthh()
getStack()
getStack()
m_7993_()
public boolean
f()
hasItem()
method_7681()
m_nplssifi()
hasStack()
hasStack()
m_6657_()
public void
d(cax arg0)
set(ItemStack arg0)
method_7673(class_1799 arg0)
m_fgnfiwnw(C_sddaxwyk arg0)
setStack(ItemStack stack)
setStack(ItemStack stack)
m_5852_(C_1391_ arg0)
public void
e(cax arg0)
initialize(ItemStack arg0)
method_44206(class_1799 arg0)
m_tfmituvd(C_sddaxwyk arg0)
setStackNoCallbacks(ItemStack stack)
m_tfmituvd(ItemStack stack)
m_219996_(C_1391_ arg0)
public void
d()
setChanged()
method_7668()
m_nbgsynpn()
markDirty()
markDirty()
m_6654_()
public int
a()
getMaxStackSize()
method_7675()
m_muunjget()
getMaxItemCount()
getMaxItemCount()
m_6641_()
public int
a_(cax 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(buc 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
b()
isActive()
method_7682()
m_pfrxhzch()
isEnabled()
isEnabled()
m_6659_()
public Optional<ItemStack>
a(int arg0, int arg1, buc 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, buc 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
f(cax 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(cax 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(buc 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
g()
getContainerSlot()
method_34266()
m_qlqvienf()
getIndex()
getIndex()
m_150661_()