Uses of Interface
net.minecraft.component.ComponentMap
Packages that use ComponentMap
Package
Description
-
Uses of ComponentMap in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return ComponentMapMethods in net.minecraft.block.entity with parameters of type ComponentMapModifier and TypeMethodDescriptionvoid
BannerBlockEntity.readComponents
(ComponentMap components) void
BeaconBlockEntity.readComponents
(ComponentMap components) void
BeehiveBlockEntity.readComponents
(ComponentMap components) void
BlockEntity.readComponents
(ComponentMap components) void
CampfireBlockEntity.readComponents
(ComponentMap components) void
ChiseledBookshelfBlockEntity.readComponents
(ComponentMap components) void
CommandBlockBlockEntity.readComponents
(ComponentMap components) void
DecoratedPotBlockEntity.readComponents
(ComponentMap components) void
EnchantingTableBlockEntity.readComponents
(ComponentMap components) void
LockableContainerBlockEntity.readComponents
(ComponentMap components) void
LootableContainerBlockEntity.readComponents
(ComponentMap components) void
SkullBlockEntity.readComponents
(ComponentMap components) -
Uses of ComponentMap in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as ComponentMapModifier and TypeFieldDescriptionprivate final ComponentMap
ItemStackArgument.components
private final ComponentMap
ItemStringReader.ItemResult.components
The field for thecomponents
record component.Methods in net.minecraft.command.argument that return ComponentMapModifier and TypeMethodDescriptionItemStringReader.ItemResult.components()
Returns the value of thecomponents
record component.Constructors in net.minecraft.command.argument with parameters of type ComponentMapModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, ComponentMap componentMap) ItemStackArgument
(RegistryEntry<Item> item, ComponentMap components) -
Uses of ComponentMap in net.minecraft.component
Classes in net.minecraft.component that implement ComponentMapModifier and TypeClassDescriptionprivate static final record
final class
Fields in net.minecraft.component declared as ComponentMapModifier and TypeFieldDescriptionprivate final ComponentMap
ComponentMapImpl.baseComponents
static final ComponentMap
DataComponentTypes.DEFAULT_ITEM_COMPONENTS
static final ComponentMap
ComponentMap.EMPTY
Methods in net.minecraft.component that return ComponentMapModifier and TypeMethodDescriptionComponentMap.Builder.build()
default ComponentMap
ComponentMap.filtered
(Predicate<DataComponentType<?>> predicate) ComponentHolder.getComponents()
Methods in net.minecraft.component with parameters of type ComponentMapModifier and TypeMethodDescriptionComponentMap.Builder.addAll
(ComponentMap componentSet) static ComponentMapImpl
ComponentMapImpl.create
(ComponentMap baseComponents, ComponentChanges changes) void
ComponentMapImpl.setAll
(ComponentMap components) private static boolean
ComponentMapImpl.shouldReuseChangesMap
(ComponentMap baseComponents, Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents) Constructors in net.minecraft.component with parameters of type ComponentMapModifierConstructorDescriptionComponentMapImpl
(ComponentMap baseComponents) private
ComponentMapImpl
(ComponentMap baseComponents, Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents, boolean copyOnWrite) -
Uses of ComponentMap in net.minecraft.item
Fields in net.minecraft.item declared as ComponentMapFields in net.minecraft.item with type parameters of type ComponentMapModifier and TypeFieldDescriptionprivate static final Interner
<ComponentMap> Item.Settings.COMPONENT_MAP_INTERNER
Methods in net.minecraft.item that return ComponentMapModifier and TypeMethodDescriptionItem.getComponents()
private ComponentMap
Item.Settings.getComponents()
ItemStack.getComponents()
(package private) ComponentMap
Item.Settings.getValidatedComponents()
Methods in net.minecraft.item with parameters of type ComponentMap -
Uses of ComponentMap in net.minecraft.loot.function
Methods in net.minecraft.loot.function that return ComponentMapModifier and TypeMethodDescriptionCopyComponentsLootFunction.Source.getComponents
(LootContext context) -
Uses of ComponentMap in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type ComponentMapModifier and TypeMethodDescriptionstatic ComponentPredicate
ComponentPredicate.of
(ComponentMap components) boolean
ComponentPredicate.test
(ComponentMap componentMap)