Package net.minecraft.inventory
Class Inventories
java.lang.Object
net.minecraft.inventory.Inventories
public class Inventories extends Object
-
Constructor Summary
Constructors Constructor Description Inventories() -
Method Summary
Modifier and Type Method Description static voidfromTag(CompoundTag tag, DefaultedList<ItemStack> stacks)static intmethod_29234(Inventory inventory, Predicate<ItemStack> predicate, int int2, boolean bool)static intmethod_29235(ItemStack itemStack, Predicate<ItemStack> predicate, int int2, boolean bool)static ItemStackremoveStack(List<ItemStack> stacks, int slot)static ItemStacksplitStack(List<ItemStack> stacks, int slot, int amount)static CompoundTagtoTag(CompoundTag tag, DefaultedList<ItemStack> stacks)static CompoundTagtoTag(CompoundTag tag, DefaultedList<ItemStack> stacks, boolean setIfEmpty)
-
Constructor Details
-
Inventories
public Inventories()
-
-
Method Details
-
splitStack
-
removeStack
-
toTag
-
toTag
public static CompoundTag toTag(CompoundTag tag, DefaultedList<ItemStack> stacks, boolean setIfEmpty) -
fromTag
-
method_29234
-
method_29235
-