net.minecraft.server.v1_14_R1

public class PlayerInventory

implements IInventory, INamableTileEntity

awa
net.minecraft.class_1661
net.minecraft.entity.player.PlayerInventory
net.minecraft.entity.player.PlayerInventory
net.minecraft.server.v1_14_R1.PlayerInventory

Field summary

Modifier and TypeField
public final NonNullList<ItemStack>
a
field_7547
main
field_70462_a
items
public final NonNullList<ItemStack>
b
field_7548
armor
field_70460_b
armor
public final NonNullList<ItemStack>
c
field_7544
offHand
field_184439_c
extraSlots
private final List<NonNullList<ItemStack>>
f
field_7543
combinedInventory
field_184440_g
public int
d
field_7545
selectedSlot
field_70461_c
itemInHandIndex
public final EntityHuman
e
field_7546
player
field_70458_d
player
private ItemStack
g
field_7549
cursorStack
field_70457_g
carried
private int
h
field_7542
changeCount
field_194017_h

Constructor summary

ModifierConstructor
public (EntityHuman arg0)

Method summary

Modifier and TypeMethod
public ItemStack
f()
method_7391()
getMainHandStack()
func_70448_g()
getItemInHand()
public static int
g()
method_7368()
getHotbarSize()
func_70451_h()
getHotbarSize()
private boolean
a(bce arg0, bce arg1)
method_7393(class_1799 arg0, class_1799 arg1)
canStackAddMore(ItemStack arg0, ItemStack arg1)
func_184436_a(ItemStack arg0, ItemStack arg1)
private boolean
b(bce arg0, bce arg1)
method_7392(class_1799 arg0, class_1799 arg1)
areItemsEqual(ItemStack arg0, ItemStack arg1)
func_184431_b(ItemStack arg0, ItemStack arg1)
public int
h()
method_7376()
getEmptySlot()
func_70447_i()
getFirstEmptySlotIndex()
public void
c(int arg0)
method_7365(int arg0)
swapSlotWithHotbar(int arg0)
func_184430_d(int arg0)
public static boolean
d(int arg0)
method_7380(int arg0)
isValidHotbarIndex(int arg0)
func_184435_e(int arg0)
public int
c(bce arg0)
method_7371(class_1799 arg0)
method_7371(ItemStack arg0)
func_194014_c(ItemStack arg0)
public int
i()
method_7386()
getSwappableHotbarSlot()
func_184433_k()
public int
a(Predicate<bce> arg0, int arg1)
method_7369(Predicate<class_1799> arg0, int arg1)
method_7369(Predicate<ItemStack> arg0, int arg1)
func_195408_a(Predicate<ItemStack> arg0, int arg1)
private int
i(bce arg0)
method_7366(class_1799 arg0)
addStack(ItemStack arg0)
func_70452_e(ItemStack arg0)
private int
d(int arg0, bce arg1)
method_7385(int arg0, class_1799 arg1)
addStack(int arg0, ItemStack arg1)
func_191973_d(int arg0, ItemStack arg1)
public int
d(bce arg0)
method_7390(class_1799 arg0)
getOccupiedSlotWithRoomForStack(ItemStack arg0)
func_70432_d(ItemStack arg0)
firstPartial(ItemStack arg0)
public void
j()
method_7381()
updateItems()
func_70429_k()
public boolean
e(bce arg0)
method_7394(class_1799 arg0)
insertStack(ItemStack arg0)
func_70441_a(ItemStack arg0)
pickup(ItemStack arg0)
public boolean
c(int arg0, bce arg1)
method_7367(int arg0, class_1799 arg1)
insertStack(int arg0, ItemStack arg1)
func_191971_c(int arg0, ItemStack arg1)
public void
a(bhm arg0, bce arg1)
method_7398(class_1937 arg0, class_1799 arg1)
offerOrDrop(World arg0, ItemStack arg1)
func_191975_a(World arg0, ItemStack arg1)
public ItemStack
a(int arg0, int arg1)
method_5434(int arg0, int arg1)
takeInvStack(int arg0, int arg1)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public void
f(bce arg0)
method_7378(class_1799 arg0)
removeOne(ItemStack arg0)
func_184437_d(ItemStack arg0)
public ItemStack
b(int arg0)
method_5441(int arg0)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bce arg1)
method_5447(int arg0, class_1799 arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public float
a(bvo arg0)
method_7370(class_2680 arg0)
getBlockBreakingSpeed(BlockState arg0)
func_184438_a(BlockState arg0)
public NBTTagList
a(ij arg0)
method_7384(class_2499 arg0)
serialize(ListTag arg0)
func_70442_a(ListNBT arg0)
public void
b(ij arg0)
method_7397(class_2499 arg0)
deserialize(ListTag arg0)
func_70443_b(ListNBT arg0)
public int
M_()
method_5439()
getInvSize()
func_70302_i_()
getSize()
public boolean
c()
method_5442()
isInvEmpty()
func_191420_l()
isNotEmpty()
public ItemStack
a(int arg0)
method_5438(int arg0)
getInvStack(int arg0)
func_70301_a(int arg0)
getItem(int arg0)
public IChatBaseComponent
O()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public boolean
b(bvo arg0)
method_7383(class_2680 arg0)
isUsingEffectiveTool(BlockState arg0)
func_184432_b(BlockState arg0)
public void
a(float arg0)
method_7375(float arg0)
damageArmor(float arg0)
func_70449_g(float arg0)
public void
k()
method_7388()
dropAll()
func_70436_m()
dropContents()
public void
e()
method_5431()
markDirty()
func_70296_d()
update()
public void
g(bce arg0)
method_7396(class_1799 arg0)
setCursorStack(ItemStack arg0)
func_70437_b(ItemStack arg0)
setCarried(ItemStack arg0)
public ItemStack
m()
method_7399()
getCursorStack()
func_70445_o()
getCarried()
public boolean
a(awb arg0)
method_5443(class_1657 arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public boolean
h(bce arg0)
method_7379(class_1799 arg0)
contains(ItemStack arg0)
func_70431_c(ItemStack arg0)
public void
a(awa arg0)
method_7377(class_1661 arg0)
clone(PlayerInventory arg0)
func_70455_b(PlayerInventory arg0)
public void
L_()
method_5448()
clear()
func_174888_l()
clear()
public void
a(awd arg0)
method_7387(class_1662 arg0)
populateRecipeFinder(RecipeFinder arg0)
func_201571_a(RecipeItemHelper arg0)
public void
a(bce arg0)
method_7374(class_1799 arg0)
addPickBlock(ItemStack arg0)
func_184434_a(ItemStack arg0)
public int
b(bce arg0)
method_7395(class_1799 arg0)
getSlotWithStack(ItemStack arg0)
func_184429_b(ItemStack arg0)
public void
a(double arg0)
method_7373(double arg0)
scrollInHotbar(double arg0)
func_195409_a(double arg0)
public ItemStack
e(int arg0)
method_7372(int arg0)
getArmorStack(int arg0)
func_70440_f(int arg0)
public int
l()
method_7364()
getChangeCount()
func_194015_p()
public boolean
a(ze<bbz> arg0)
method_7382(class_3494<class_1792> arg0)
contains(Tag<Item> arg0)
func_199712_a(Tag<Item> arg0)