net.minecraft.world

public class ContainerHelper

btd
net.minecraft.world.ContainerHelper
net.minecraft.class_1262
net.minecraft.inventory.Inventories
net.minecraft.world.ContainerUtil

Field summary

Modifier and TypeField
public static final String
a
TAG_ITEMS
field_49719
ITEMS_NBT_KEY

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemStack
a(List<cxp> arg0, int arg1, int arg2)
removeItem(List<ItemStack> arg0, int arg1, int arg2)
method_5430(List<class_1799> arg0, int arg1, int arg2)
splitStack(List<ItemStack> stacks, int slot, int amount)
public static ItemStack
a(List<cxp> arg0, int arg1)
takeItem(List<ItemStack> arg0, int arg1)
method_5428(List<class_1799> arg0, int arg1)
removeStack(List<ItemStack> stacks, int slot)
public static CompoundTag
a(ux arg0, jz<cxp> arg1, js$a arg2)
saveAllItems(CompoundTag arg0, NonNullList<ItemStack> arg1, HolderLookup$Provider arg2)
method_5426(class_2487 arg0, class_2371<class_1799> arg1, class_7225$class_7874 arg2)
writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, RegistryWrapper$WrapperLookup registries)
public static CompoundTag
a(ux arg0, jz<cxp> arg1, boolean arg2, js$a arg3)
saveAllItems(CompoundTag arg0, NonNullList<ItemStack> arg1, boolean arg2, HolderLookup$Provider arg3)
method_5427(class_2487 arg0, class_2371<class_1799> arg1, boolean arg2, class_7225$class_7874 arg3)
writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty, RegistryWrapper$WrapperLookup registries)
public static void
b(ux arg0, jz<cxp> arg1, js$a arg2)
loadAllItems(CompoundTag arg0, NonNullList<ItemStack> arg1, HolderLookup$Provider arg2)
method_5429(class_2487 arg0, class_2371<class_1799> arg1, class_7225$class_7874 arg2)
readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, RegistryWrapper$WrapperLookup registries)
public static int
a(btc arg0, Predicate<cxp> arg1, int arg2, boolean arg3)
clearOrCountMatchingItems(Container arg0, Predicate<ItemStack> arg1, int arg2, boolean arg3)
method_29234(class_1263 arg0, Predicate<class_1799> arg1, int arg2, boolean arg3)
remove(Inventory inventory, Predicate<ItemStack> shouldRemove, int maxCount, boolean dryRun)
public static int
a(cxp arg0, Predicate<cxp> arg1, int arg2, boolean arg3)
clearOrCountMatchingItems(ItemStack arg0, Predicate<ItemStack> arg1, int arg2, boolean arg3)
method_29235(class_1799 arg0, Predicate<class_1799> arg1, int arg2, boolean arg3)
remove(ItemStack stack, Predicate<ItemStack> shouldRemove, int maxCount, boolean dryRun)