Uses of Class
net.minecraft.util.collection.DefaultedList
Package
Description
-
Uses of DefaultedList in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.addStacksForDisplay
(ItemGroup group, DefaultedList<ItemStack> list) -
Uses of DefaultedList in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprotected 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 final DefaultedList<ItemStack>
CampfireBlockEntity.itemsBeingCooked
Modifier and TypeMethodDescriptionprotected 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()
CampfireBlockEntity.getItemsBeingCooked()
Modifier and TypeMethodDescriptionprivate 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
Modifier and TypeFieldDescriptionfinal DefaultedList<ItemStack>
CreativeInventoryScreen.CreativeScreenHandler.itemList
-
Uses of DefaultedList in net.minecraft.client.gui.tooltip
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
BundleTooltipComponent.inventory
-
Uses of DefaultedList in net.minecraft.client.item
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
BundleTooltipData.inventory
ModifierConstructorDescriptionBundleTooltipData
(DefaultedList<ItemStack> inventory, int bundleOccupancy) -
Uses of DefaultedList in net.minecraft.client.option
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
HotbarStorageEntry.delegate
-
Uses of DefaultedList in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
LivingEntity.equippedArmor
private final DefaultedList<ItemStack>
LivingEntity.equippedHand
-
Uses of DefaultedList in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
ArmorStandEntity.armorItems
private final DefaultedList<ItemStack>
ArmorStandEntity.heldItems
-
Uses of DefaultedList in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
MobEntity.armorItems
private final DefaultedList<ItemStack>
MobEntity.handItems
-
Uses of DefaultedList in net.minecraft.entity.player
Modifier and TypeFieldDescriptionfinal DefaultedList<ItemStack>
PlayerInventory.armor
final DefaultedList<ItemStack>
PlayerInventory.main
final DefaultedList<ItemStack>
PlayerInventory.offHand
Modifier and TypeFieldDescriptionprivate final List<DefaultedList<ItemStack>>
PlayerInventory.combinedInventory
-
Uses of DefaultedList in net.minecraft.entity.vehicle
Modifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>
StorageMinecartEntity.inventory
-
Uses of DefaultedList in net.minecraft.inventory
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
CraftingInventory.stacks
private final DefaultedList<ItemStack>
CraftingResultInventory.stacks
private final DefaultedList<ItemStack>
SimpleInventory.stacks
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionvoid
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
-
Uses of DefaultedList in net.minecraft.recipe
Modifier and TypeFieldDescription(package private) final DefaultedList<Ingredient>
ShapedRecipe.input
(package private) final DefaultedList<Ingredient>
ShapelessRecipe.input
Modifier and TypeMethodDescription(package private) static DefaultedList<Ingredient>
ShapedRecipe.createPatternMatrix
(String[] pattern, Map<String, Ingredient> symbols, int width, int height) Compiles a pattern and series of symbols into a list of ingredients (the matrix) suitable for matching against a crafting grid.AbstractCookingRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.CuttingRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.default DefaultedList<Ingredient>
Recipe.getIngredients()
The ingredients accepted as inputs for this recipe.ShapedRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.ShapelessRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.private static DefaultedList<Ingredient>
ShapelessRecipe.Serializer.getIngredients
(JsonArray json) BannerDuplicateRecipe.getRemainder
(CraftingInventory craftingInventory) BookCloningRecipe.getRemainder
(CraftingInventory craftingInventory) default DefaultedList<ItemStack>
Recipe.getRemainder
(C inventory) Returns the remaining stacks to be left in the crafting grid after crafting is complete.<C extends Inventory,
T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager.getRemainingStacks
(RecipeType<T> recipeType, C inventory, World world) ModifierConstructorDescriptionShapedRecipe
(Identifier id, String group, int width, int height, DefaultedList<Ingredient> input, ItemStack output) ShapelessRecipe
(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input) -
Uses of DefaultedList in net.minecraft.screen
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
ScreenHandler.previousTrackedStacks
final DefaultedList<Slot>
ScreenHandler.slots
private final DefaultedList<ItemStack>
ScreenHandler.trackedStacks
A list of item stacks that is used for tracking changes inScreenHandler.sendContentUpdates()
.Modifier and TypeMethodDescriptionvoid
ScreenHandlerSyncHandler.updateState
(ScreenHandler handler, DefaultedList<ItemStack> stacks, ItemStack cursorStack, int[] properties) -
Uses of DefaultedList in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ItemScatterer.spawn
(World world, BlockPos pos, DefaultedList<ItemStack> stacks) -
Uses of DefaultedList in net.minecraft.util.collection
Modifier and TypeMethodDescriptionstatic <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
Modifier and TypeFieldDescriptionprivate final DefaultedList<ItemStack>
MerchantInventory.inventory