Uses of Class
net.minecraft.util.collection.DefaultedList
-
Uses of DefaultedList in net.minecraft.block
Methods in net.minecraft.block with parameters of type DefaultedList Modifier and Type Method Description void
Block. addStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> list)
-
Uses of DefaultedList in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as DefaultedList Modifier and Type Field Description protected DefaultedList<ItemStack>
AbstractFurnaceBlockEntity. inventory
private DefaultedList<ItemStack>
BarrelBlockEntity. inventory
private DefaultedList<ItemStack>
BrewingStandBlockEntity. inventory
private DefaultedList<ItemStack>
ChestBlockEntity. inventory
private DefaultedList<ItemStack>
DispenserBlockEntity. inventory
private DefaultedList<ItemStack>
HopperBlockEntity. inventory
private DefaultedList<ItemStack>
ShulkerBoxBlockEntity. inventory
private DefaultedList<ItemStack>
CampfireBlockEntity. itemsBeingCooked
Methods in net.minecraft.block.entity that return DefaultedList Modifier and Type Method Description protected DefaultedList<ItemStack>
BarrelBlockEntity. getInvStackList()
protected DefaultedList<ItemStack>
ChestBlockEntity. getInvStackList()
protected DefaultedList<ItemStack>
DispenserBlockEntity. getInvStackList()
protected DefaultedList<ItemStack>
HopperBlockEntity. getInvStackList()
protected abstract DefaultedList<ItemStack>
LootableContainerBlockEntity. getInvStackList()
protected DefaultedList<ItemStack>
ShulkerBoxBlockEntity. getInvStackList()
DefaultedList<ItemStack>
CampfireBlockEntity. getItemsBeingCooked()
Methods in net.minecraft.block.entity with parameters of type DefaultedList Modifier and Type Method Description private static boolean
AbstractFurnaceBlockEntity. canAcceptRecipeOutput(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
private static boolean
BrewingStandBlockEntity. canCraft(DefaultedList<ItemStack> slots)
private static void
BrewingStandBlockEntity. craft(World world, BlockPos pos, DefaultedList<ItemStack> slots)
private static boolean
AbstractFurnaceBlockEntity. craftRecipe(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)
protected void
BarrelBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
protected void
ChestBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
protected void
DispenserBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
protected void
HopperBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
protected abstract void
LootableContainerBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
protected void
ShulkerBoxBlockEntity. setInvStackList(DefaultedList<ItemStack> list)
-
Uses of DefaultedList in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as DefaultedList Modifier and Type Field Description DefaultedList<ItemStack>
CreativeInventoryScreen.CreativeScreenHandler. itemList
-
Uses of DefaultedList in net.minecraft.client.gui.tooltip
Fields in net.minecraft.client.gui.tooltip declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
BundleTooltipComponent. inventory
-
Uses of DefaultedList in net.minecraft.client.item
Fields in net.minecraft.client.item declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
BundleTooltipData. inventory
Methods in net.minecraft.client.item that return DefaultedList Modifier and Type Method Description DefaultedList<ItemStack>
BundleTooltipData. getInventory()
Constructors in net.minecraft.client.item with parameters of type DefaultedList Constructor Description BundleTooltipData(DefaultedList<ItemStack> inventory, int bundleOccupancy)
-
Uses of DefaultedList in net.minecraft.client.option
Fields in net.minecraft.client.option declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
HotbarStorageEntry. delegate
-
Uses of DefaultedList in net.minecraft.entity
Fields in net.minecraft.entity declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
LivingEntity. equippedArmor
private DefaultedList<ItemStack>
LivingEntity. equippedHand
-
Uses of DefaultedList in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
ArmorStandEntity. armorItems
private DefaultedList<ItemStack>
ArmorStandEntity. heldItems
-
Uses of DefaultedList in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
MobEntity. armorItems
private DefaultedList<ItemStack>
MobEntity. handItems
-
Uses of DefaultedList in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as DefaultedList Modifier and Type Field Description DefaultedList<ItemStack>
PlayerInventory. armor
DefaultedList<ItemStack>
PlayerInventory. main
DefaultedList<ItemStack>
PlayerInventory. offHand
Fields in net.minecraft.entity.player with type parameters of type DefaultedList Modifier and Type Field Description private List<DefaultedList<ItemStack>>
PlayerInventory. combinedInventory
-
Uses of DefaultedList in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
StorageMinecartEntity. inventory
-
Uses of DefaultedList in net.minecraft.inventory
Fields in net.minecraft.inventory declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
CraftingInventory. stacks
private DefaultedList<ItemStack>
CraftingResultInventory. stacks
private DefaultedList<ItemStack>
SimpleInventory. stacks
Methods in net.minecraft.inventory with parameters of type DefaultedList Modifier and Type Method Description static void
Inventories. readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)
static NbtCompound
Inventories. writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)
static NbtCompound
Inventories. writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty)
-
Uses of DefaultedList in net.minecraft.item
Methods in net.minecraft.item with parameters of type DefaultedList Modifier and Type Method Description void
BlockItem. appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
void
EnchantedBookItem. appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
void
Item. appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
void
ItemGroup. appendStacks(DefaultedList<ItemStack> stacks)
void
PotionItem. appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
void
TippedArrowItem. appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
-
Uses of DefaultedList in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type DefaultedList Constructor Description InventoryS2CPacket(int syncId, DefaultedList<ItemStack> contents)
-
Uses of DefaultedList in net.minecraft.recipe
Fields in net.minecraft.recipe declared as DefaultedList Modifier and Type Field Description private DefaultedList<Ingredient>
ShapelessRecipe. input
private DefaultedList<Ingredient>
ShapedRecipe. inputs
Constructors in net.minecraft.recipe with parameters of type DefaultedList Constructor Description ShapedRecipe(Identifier id, String group, int width, int height, DefaultedList<Ingredient> ingredients, ItemStack output)
ShapelessRecipe(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input)
-
Uses of DefaultedList in net.minecraft.screen
Fields in net.minecraft.screen declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
ScreenHandler. previousTrackedStacks
DefaultedList<Slot>
ScreenHandler. slots
private DefaultedList<ItemStack>
ScreenHandler. trackedStacks
A list of item stacks that is used for tracking changes inScreenHandler.sendContentUpdates()
.Methods in net.minecraft.screen that return DefaultedList Modifier and Type Method Description DefaultedList<ItemStack>
ScreenHandler. getStacks()
Methods in net.minecraft.screen with parameters of type DefaultedList Modifier and Type Method Description void
ScreenHandlerSyncHandler. updateState(ScreenHandler handler, DefaultedList<ItemStack> stacks, ItemStack cursorStack, int[] properties)
-
Uses of DefaultedList in net.minecraft.util
Methods in net.minecraft.util with parameters of type DefaultedList Modifier and Type Method Description static void
ItemScatterer. spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks)
-
Uses of DefaultedList in net.minecraft.util.collection
Methods in net.minecraft.util.collection that return DefaultedList Modifier and Type Method Description static <E> DefaultedList<E>
DefaultedList. copyOf(E defaultValue, E[] values)
static <E> DefaultedList<E>
DefaultedList. of()
static <E> DefaultedList<E>
DefaultedList. ofSize(int size, E defaultValue)
-
Uses of DefaultedList in net.minecraft.village
Fields in net.minecraft.village declared as DefaultedList Modifier and Type Field Description private DefaultedList<ItemStack>
MerchantInventory. inventory