net.minecraft.world

public class ContainerHelper

bql
net.minecraft.world.ContainerHelper
net.minecraft.class_1262
net.minecraft.inventory.Inventories
net.minecraft.src.C_465_
net.minecraft.world.ContainerUtil

Field summary

Modifier and TypeField
public static final String
a
TAG_ITEMS
field_49719
ITEMS_NBT_KEY
f_314637_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemStack
a(List<cuq> 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)
m_18969_(List<C_1391_> p_18970_, int p_18971_, int p_18972_)
public static ItemStack
a(List<cuq> arg0, int arg1)
takeItem(List<ItemStack> arg0, int arg1)
method_5428(List<class_1799> arg0, int arg1)
removeStack(List<ItemStack> stacks, int slot)
m_18966_(List<C_1391_> p_18967_, int p_18968_)
public static CompoundTag
a(ub arg0, jv<cuq> arg1, jo$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)
m_18976_(C_4917_ p_18977_, C_4702_<C_1391_> p_18978_, C_213466_$C_254607_ p_333891_)
public static CompoundTag
a(ub arg0, jv<cuq> arg1, boolean arg2, jo$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)
m_18973_(C_4917_ p_18974_, C_4702_<C_1391_> p_18975_, boolean p_336339_, C_213466_$C_254607_ p_329730_)
public static void
b(ub arg0, jv<cuq> arg1, jo$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)
m_18980_(C_4917_ p_18981_, C_4702_<C_1391_> p_18982_, C_213466_$C_254607_ p_334892_)
public static int
a(bqk arg0, Predicate<cuq> 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)
m_18956_(C_464_ p_18957_, Predicate<C_1391_> p_18958_, int p_18959_, boolean p_18960_)
public static int
a(cuq arg0, Predicate<cuq> 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)
m_18961_(C_1391_ p_18962_, Predicate<C_1391_> p_18963_, int p_18964_, boolean p_18965_)