net.minecraft.world.inventory

public class Slot

bjo
net.minecraft.world.inventory.Slot
net.minecraft.class_1735
net.minecraft.screen.slot.Slot
net.minecraft.inventory.container.Slot
net.minecraft.server.v1_16_R2.Slot

Field summary

Modifier and TypeField
private final int
a
slot
field_7875
index
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
x
field_75223_e
public final int
f
y
field_7872
y
field_75221_f

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(bly arg0, bly 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(bly 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(bly arg0)
checkTakeAchievements(ItemStack arg0)
method_7669(class_1799 arg0)
onCrafted(ItemStack stack)
func_75208_c(ItemStack arg0)
public ItemStack
a(bft arg0, bly 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(bly 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(bly arg0)
set(ItemStack arg0)
method_7673(class_1799 arg0)
setStack(ItemStack stack)
func_75215_d(ItemStack arg0)
set(ItemStack arg0)
public void
d()
setChanged()
method_7668()
markDirty()
func_75218_e()
public int
a()
getMaxStackSize()
method_7675()
getMaxItemCount()
func_75219_a()
getMaxStackSize()
public int
b(bly arg0)
getMaxStackSize(ItemStack arg0)
method_7676(class_1799 arg0)
getMaxItemCount(ItemStack stack)
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(bft 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()