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 voidBlockEntity.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 ComponentChangesItemStackArgument.componentsprivate final ComponentChangesItemStringReader.ItemResult.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.command.argument that return ComponentChangesModifier and TypeMethodDescriptionItemStringReader.ItemResult.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.command.argument with parameters of type ComponentChangesModifier and TypeMethodDescriptionprivate static voidItemStringReader.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.CODECstatic final PacketCodec<RegistryByteBuf, ComponentChanges> ComponentChanges.PACKET_CODECMethods 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 TypeMethodDescriptionvoidComponentMapImpl.applyChanges(ComponentChanges changes) static ComponentMapImplComponentMapImpl.create(ComponentMap baseComponents, ComponentChanges changes) voidComponentMapImpl.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 TypeMethodDescriptionvoidItemStack.applyChanges(ComponentChanges changes) voidItemStack.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 ComponentChangesSetComponentsLootFunction.changesConstructors in net.minecraft.loot.function with parameters of type ComponentChangesModifierConstructorDescriptionprivateSetComponentsLootFunction(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 ComponentChangesHoverEvent.ItemStackContent.changesConstructors in net.minecraft.text with parameters of type ComponentChangesModifierConstructorDescription(package private)ItemStackContent(RegistryEntry<Item> item, int count, ComponentChanges changes)