Uses of Class
net.minecraft.component.ComponentChanges
Packages that use ComponentChanges
Package
Description
-
Uses of ComponentChanges in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type ComponentChangesModifier and TypeMethodDescriptionfinal void
BlockEntity.readComponents
(ComponentMap defaultComponents, ComponentChanges components) -
Uses of ComponentChanges in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as ComponentChangesModifier and TypeFieldDescriptionprivate final ComponentChanges
ItemStackArgument.components
private final ComponentChanges
ItemStringReader.ItemResult.components
The field for thecomponents
record component.Methods in net.minecraft.command.argument that return ComponentChangesModifier and TypeMethodDescriptionItemStringReader.ItemResult.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.command.argument with parameters of type ComponentChangesModifier and TypeMethodDescriptionprivate static void
ItemStringReader.validate
(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentChanges components) Constructors in net.minecraft.command.argument with parameters of type ComponentChangesModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, ComponentChanges componentChanges) ItemStackArgument
(RegistryEntry<Item> item, ComponentChanges components) -
Uses of ComponentChanges in net.minecraft.component
Fields in net.minecraft.component declared as ComponentChangesFields in net.minecraft.component with type parameters of type ComponentChangesModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentChanges> ComponentChanges.CODEC
static final PacketCodec
<RegistryByteBuf, ComponentChanges> ComponentChanges.PACKET_CODEC
Methods in net.minecraft.component that return ComponentChangesModifier and TypeMethodDescriptionComponentChanges.Builder.build()
ComponentMapImpl.getChanges()
ComponentChanges.withRemovedIf
(Predicate<ComponentType<?>> removedTypePredicate) Methods in net.minecraft.component with parameters of type ComponentChangesModifier and TypeMethodDescriptionvoid
ComponentMapImpl.applyChanges
(ComponentChanges changes) static ComponentMapImpl
ComponentMapImpl.create
(ComponentMap baseComponents, ComponentChanges changes) void
ComponentMapImpl.setChanges
(ComponentChanges changes) -
Uses of ComponentChanges in net.minecraft.item
Methods in net.minecraft.item that return ComponentChangesMethods in net.minecraft.item with parameters of type ComponentChangesModifier and TypeMethodDescriptionvoid
ItemStack.applyChanges
(ComponentChanges changes) void
ItemStack.applyUnvalidatedChanges
(ComponentChanges changes) Constructors in net.minecraft.item with parameters of type ComponentChangesModifierConstructorDescriptionItemStack
(RegistryEntry<Item> item, int count, ComponentChanges changes) -
Uses of ComponentChanges in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as ComponentChangesModifier and TypeFieldDescriptionprivate final ComponentChanges
SetComponentsLootFunction.changes
Constructors in net.minecraft.loot.function with parameters of type ComponentChangesModifierConstructorDescriptionprivate
SetComponentsLootFunction
(List<LootCondition> conditions, ComponentChanges changes) -
Uses of ComponentChanges in net.minecraft.predicate
Methods in net.minecraft.predicate that return ComponentChanges -
Uses of ComponentChanges in net.minecraft.text
Fields in net.minecraft.text declared as ComponentChangesModifier and TypeFieldDescriptionprivate final ComponentChanges
HoverEvent.ItemStackContent.changes
Constructors in net.minecraft.text with parameters of type ComponentChangesModifierConstructorDescription(package private)
ItemStackContent
(RegistryEntry<Item> item, int count, ComponentChanges changes)