net.minecraft.world.inventory

public class Slot

bca
net.minecraft.world.inventory.Slot
net.minecraft.class_1735
net.minecraft.container.Slot
net.minecraft.inventory.container.Slot
net.minecraft.server.v1_15_R1.Slot

Field summary

Modifier and TypeField
private final int
a
slot
field_7875
invSlot
field_75225_a
index
public final Container
c
container
field_7871
inventory
field_75224_c
inventory
public int
d
index
field_7874
id
field_75222_d
rawSlotIndex
public final int
e
x
field_7873
xPosition
field_75223_e
public final int
f
y
field_7872
yPosition
field_75221_f

Constructor summary

ModifierConstructor
public (Container inventory, int invSlot, int xPosition, int yPosition)

Method summary

Modifier and TypeMethod
public void
a(ben arg0, ben arg1)
onQuickCraft(ItemStack arg0, ItemStack arg1)
method_7670(class_1799 arg0, class_1799 arg1)
onStackChanged(ItemStack originalItem, ItemStack arg1)
func_75220_a(ItemStack arg0, ItemStack arg1)
protected void
a(ben arg0, int arg1)
onQuickCraft(ItemStack arg0, int arg1)
method_7678(class_1799 arg0, int arg1)
onCrafted(ItemStack stack, int amount)
func_75210_a(ItemStack arg0, int arg1)
protected void
b(int arg0)
onSwapCraft(int arg0)
method_7672(int arg0)
onTake(int amount)
func_190900_b(int arg0)
protected void
c(ben arg0)
checkTakeAchievements(ItemStack arg0)
method_7669(class_1799 arg0)
onCrafted(ItemStack stack)
func_75208_c(ItemStack arg0)
public ItemStack
a(ayj arg0, ben arg1)
onTake(Player arg0, ItemStack arg1)
method_7667(class_1657 arg0, class_1799 arg1)
onTakeItem(PlayerEntity player, ItemStack stack)
func_190901_a(PlayerEntity arg0, ItemStack arg1)
public boolean
a(ben arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
canInsert(ItemStack stack)
func_75214_a(ItemStack arg0)
isAllowed(ItemStack arg0)
public ItemStack
e()
getItem()
method_7677()
getStack()
func_75211_c()
getItem()
public boolean
f()
hasItem()
method_7681()
hasStack()
func_75216_d()
hasItem()
public void
d(ben arg0)
set(ItemStack arg0)
method_7673(class_1799 arg0)
setStack(ItemStack arg0)
func_75215_d(ItemStack arg0)
set(ItemStack arg0)
public void
d()
setChanged()
method_7668()
markDirty()
func_75218_e()
public int
a()
getMaxStackSize()
method_7675()
getMaxStackAmount()
func_75219_a()
getMaxStackSize()
public int
b(ben arg0)
getMaxStackSize(ItemStack arg0)
method_7676(class_1799 arg0)
getMaxStackAmount(ItemStack arg0)
func_178170_b(ItemStack arg0)
getMaxStackSize(ItemStack arg0)
public ItemStack
a(int arg0)
remove(int arg0)
method_7671(int arg0)
takeStack(int amount)
func_75209_a(int arg0)
public boolean
a(ayj arg0)
mayPickup(Player arg0)
method_7674(class_1657 arg0)
canTakeItems(PlayerEntity playerEntity)
func_82869_a(PlayerEntity arg0)
isAllowed(EntityHuman arg0)
public com.mojang.datafixers.util.Pair<ResourceLocation, ResourceLocation>
c()
getNoItemIcon()
method_7679()
getBackgroundSprite()
func_225517_c_()
public boolean
b()
isActive()
method_7682()
doDrawHoveringEffect()
func_111238_b()