net.minecraft.world

public class ContainerHelper

bsf
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<cwq> 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<cwq> 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(tq arg0, ka<cwq> arg1, jt$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(tq arg0, ka<cwq> arg1, boolean arg2, jt$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(tq arg0, ka<cwq> arg1, jt$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(bse arg0, Predicate<cwq> 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(cwq arg0, Predicate<cwq> 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)