Uses of Class
net.minecraft.util.collection.DefaultedList
Packages that use DefaultedList
Package
Description
-
Uses of DefaultedList in net.minecraft.block
Methods in net.minecraft.block with parameters of type DefaultedListModifier and TypeMethodDescriptionvoidBlock.addStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> list) -
Uses of DefaultedList in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as DefaultedListModifier and TypeFieldDescriptionprotected DefaultedList<ItemStack>AbstractFurnaceBlockEntity.inventoryprivate DefaultedList<ItemStack>BarrelBlockEntity.inventoryprivate DefaultedList<ItemStack>BrewingStandBlockEntity.inventoryprivate DefaultedList<ItemStack>ChestBlockEntity.inventoryprivate DefaultedList<ItemStack>DispenserBlockEntity.inventoryprivate DefaultedList<ItemStack>HopperBlockEntity.inventoryprivate DefaultedList<ItemStack>ShulkerBoxBlockEntity.inventoryprivate DefaultedList<ItemStack>CampfireBlockEntity.itemsBeingCookedMethods in net.minecraft.block.entity that return DefaultedListModifier 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()Methods in net.minecraft.block.entity with parameters of type DefaultedListModifier and TypeMethodDescriptionprivate static booleanAbstractFurnaceBlockEntity.canAcceptRecipeOutput(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)private static booleanBrewingStandBlockEntity.canCraft(DefaultedList<ItemStack> slots)private static voidBrewingStandBlockEntity.craft(World world, BlockPos pos, DefaultedList<ItemStack> slots)private static booleanAbstractFurnaceBlockEntity.craftRecipe(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)protected voidBarrelBlockEntity.setInvStackList(DefaultedList<ItemStack> list)protected voidChestBlockEntity.setInvStackList(DefaultedList<ItemStack> list)protected voidDispenserBlockEntity.setInvStackList(DefaultedList<ItemStack> list)protected voidHopperBlockEntity.setInvStackList(DefaultedList<ItemStack> list)protected abstract voidLootableContainerBlockEntity.setInvStackList(DefaultedList<ItemStack> list)protected voidShulkerBoxBlockEntity.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 -
Uses of DefaultedList in net.minecraft.client.gui.tooltip
Fields in net.minecraft.client.gui.tooltip declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>BundleTooltipComponent.inventory -
Uses of DefaultedList in net.minecraft.client.item
Fields in net.minecraft.client.item declared as DefaultedListMethods in net.minecraft.client.item that return DefaultedListConstructors in net.minecraft.client.item with parameters of type DefaultedListModifierConstructorDescriptionBundleTooltipData(DefaultedList<ItemStack> inventory, int bundleOccupancy) -
Uses of DefaultedList in net.minecraft.client.option
Fields in net.minecraft.client.option declared as DefaultedList -
Uses of DefaultedList in net.minecraft.entity
Fields in net.minecraft.entity declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>LivingEntity.equippedArmorprivate DefaultedList<ItemStack>LivingEntity.equippedHand -
Uses of DefaultedList in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>ArmorStandEntity.armorItemsprivate DefaultedList<ItemStack>ArmorStandEntity.heldItems -
Uses of DefaultedList in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>MobEntity.armorItemsprivate DefaultedList<ItemStack>MobEntity.handItems -
Uses of DefaultedList in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as DefaultedListModifier and TypeFieldDescriptionPlayerInventory.armorPlayerInventory.mainPlayerInventory.offHandFields in net.minecraft.entity.player with type parameters of type DefaultedListModifier and TypeFieldDescriptionprivate List<DefaultedList<ItemStack>>PlayerInventory.combinedInventory -
Uses of DefaultedList in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>StorageMinecartEntity.inventory -
Uses of DefaultedList in net.minecraft.inventory
Fields in net.minecraft.inventory declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>CraftingInventory.stacksprivate DefaultedList<ItemStack>CraftingResultInventory.stacksprivate DefaultedList<ItemStack>SimpleInventory.stacksMethods in net.minecraft.inventory with parameters of type DefaultedListModifier and TypeMethodDescriptionstatic voidInventories.readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty) -
Uses of DefaultedList in net.minecraft.item
Methods in net.minecraft.item with parameters of type DefaultedListModifier and TypeMethodDescriptionvoidBlockItem.appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)voidEnchantedBookItem.appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)voidItem.appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)voidItemGroup.appendStacks(DefaultedList<ItemStack> stacks)voidPotionItem.appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)voidTippedArrowItem.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 -
Uses of DefaultedList in net.minecraft.recipe
Fields in net.minecraft.recipe declared as DefaultedListModifier and TypeFieldDescription(package private) DefaultedList<Ingredient>ShapedRecipe.input(package private) DefaultedList<Ingredient>ShapelessRecipe.inputMethods in net.minecraft.recipe that return DefaultedListModifier 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)Constructors in net.minecraft.recipe with parameters of type DefaultedListModifierConstructorDescriptionShapedRecipe(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
Fields in net.minecraft.screen declared as DefaultedListModifier and TypeFieldDescriptionprivate DefaultedList<ItemStack>ScreenHandler.previousTrackedStacksScreenHandler.slotsprivate DefaultedList<ItemStack>ScreenHandler.trackedStacksA list of item stacks that is used for tracking changes inScreenHandler.sendContentUpdates().Methods in net.minecraft.screen that return DefaultedListMethods in net.minecraft.screen with parameters of type DefaultedListModifier and TypeMethodDescriptionvoidScreenHandlerSyncHandler.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 DefaultedListModifier and TypeMethodDescriptionstatic voidItemScatterer.spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) -
Uses of DefaultedList in net.minecraft.util.collection
Methods in net.minecraft.util.collection that return DefaultedListModifier 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
Fields in net.minecraft.village declared as DefaultedList