Uses of Class
net.minecraft.component.type.ContainerComponent
Packages that use ContainerComponent
Package
Description
-
Uses of ContainerComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type ContainerComponentModifier and TypeFieldDescriptionstatic final ComponentType
<ContainerComponent> DataComponentTypes.CONTAINER
-
Uses of ContainerComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as ContainerComponentModifier and TypeFieldDescriptionstatic final ContainerComponent
ContainerComponent.DEFAULT
An empty container component.Fields in net.minecraft.component.type with type parameters of type ContainerComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContainerComponent> ContainerComponent.CODEC
static final PacketCodec
<RegistryByteBuf, ContainerComponent> ContainerComponent.PACKET_CODEC
Methods in net.minecraft.component.type that return ContainerComponentModifier and TypeMethodDescriptionprivate static ContainerComponent
ContainerComponent.fromSlots
(List<ContainerComponent.Slot> slots) static ContainerComponent
ContainerComponent.fromStacks
(List<ItemStack> stacks) Creates a container component from a list of item stacks. -
Uses of ContainerComponent in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type ContainerComponentModifier and TypeFieldDescriptionstatic final ContainerComponentModifier
<ContainerComponent> ContainerComponentModifiers.CONTAINER
-
Uses of ContainerComponent in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item that return types with arguments of type ContainerComponentMethods in net.minecraft.predicate.item with parameters of type ContainerComponentModifier and TypeMethodDescriptionboolean
ContainerPredicate.test
(ItemStack itemStack, ContainerComponent containerComponent)