Uses of Class
net.minecraft.world.item.component.ItemContainerContents
Packages that use ItemContainerContents
Package
Description
-
Uses of ItemContainerContents in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type ItemContainerContentsModifier and TypeFieldDescriptionstatic final DataComponentType<ItemContainerContents> DataComponents.CONTAINER -
Uses of ItemContainerContents in net.minecraft.core.component.predicates
Classes in net.minecraft.core.component.predicates that implement interfaces with type arguments of type ItemContainerContentsMethods in net.minecraft.core.component.predicates that return types with arguments of type ItemContainerContentsMethods in net.minecraft.core.component.predicates with parameters of type ItemContainerContentsModifier and TypeMethodDescriptionbooleanContainerPredicate.matches(ItemContainerContents value) -
Uses of ItemContainerContents in net.minecraft.world.item.component
Subclasses with type arguments of type ItemContainerContents in net.minecraft.world.item.componentClasses in net.minecraft.world.item.component that implement interfaces with type arguments of type ItemContainerContentsFields in net.minecraft.world.item.component declared as ItemContainerContentsFields in net.minecraft.world.item.component with type parameters of type ItemContainerContentsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ItemContainerContents> ItemContainerContents.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemContainerContents> ItemContainerContents.STREAM_CODECMethods in net.minecraft.world.item.component that return ItemContainerContentsModifier and TypeMethodDescriptionItemContainerContents.copyWithContents(Stream<ItemStack> newContents) static ItemContainerContentsprivate static ItemContainerContentsItemContainerContents.fromSlots(List<ItemContainerContents.Slot> slots) ItemContainerContents.Mutable.toImmutable() -
Uses of ItemContainerContents in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type ItemContainerContentsModifier and TypeFieldDescriptionstatic final ContainerComponentManipulator<ItemContainerContents> ContainerComponentManipulators.CONTAINER -
Uses of ItemContainerContents in net.neoforged.neoforge.transfer.item
Fields in net.neoforged.neoforge.transfer.item with type parameters of type ItemContainerContentsModifier and TypeFieldDescriptionprotected final DataComponentType<ItemContainerContents> ItemAccessItemHandler.componentMethods in net.neoforged.neoforge.transfer.item that return ItemContainerContentsModifier and TypeMethodDescriptionprotected ItemContainerContentsItemAccessItemHandler.getContents(ItemResource accessResource) Retrieves theItemContainerContentsfrom the current resource of the item access.Methods in net.neoforged.neoforge.transfer.item with parameters of type ItemContainerContentsModifier and TypeMethodDescriptionprotected Optional<ItemStackTemplate> ItemAccessItemHandler.getTemplateFromContents(ItemContainerContents contents, int slot) Retrieves a single item template from the underlying data component, returningItemStack.EMPTYif the component does not have a slot present.Constructor parameters in net.neoforged.neoforge.transfer.item with type arguments of type ItemContainerContentsModifierConstructorDescriptionItemAccessItemHandler(ItemAccess itemAccess, DataComponentType<ItemContainerContents> component, int size)