net.minecraft.inventory

public class DoubleInventory

implements Inventory

net.minecraft.world.CompoundContainer
net.minecraft.class_1258
net.minecraft.inventory.DoubleInventory

Field summary

Modifier and TypeField
private final Inventory
container1
field_5769
first
private final Inventory
container2
field_5771
second

Constructor summary

ModifierConstructor
public (Inventory first, Inventory second)

Method summary

Modifier and TypeMethod
public int
getContainerSize()
method_5439()
size()
public boolean
isEmpty()
method_5442()
isEmpty()
public boolean
contains(Container container)
method_5405(class_1263 arg0)
isPart(Inventory inventory)
public ItemStack
getItem(int slot)
method_5438(int arg0)
getStack(int arg0)
public ItemStack
removeItem(int slot, int count)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
public ItemStack
removeItemNoUpdate(int slot)
method_5441(int arg0)
removeStack(int arg0)
public void
setItem(int slot, ItemStack itemStack)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public int
getMaxStackSize()
method_5444()
getMaxCountPerStack()
public void
setChanged()
method_5431()
markDirty()
public boolean
stillValid(Player player)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public void
startOpen(ContainerUser containerUser)
method_5435(class_11565 arg0)
onOpen(ContainerUser arg0)
public void
stopOpen(ContainerUser containerUser)
method_5432(class_11565 arg0)
onClose(ContainerUser arg0)
public boolean
canPlaceItem(int slot, ItemStack itemStack)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public void
clearContent()
method_5448()
clear()