Uses of Class
net.minecraft.component.ComponentChanges
Package
Description
-
Uses of ComponentChanges in net.minecraft.block.entity
Modifier and TypeMethodDescriptionfinal void
BlockEntity.readComponents
(ComponentMap defaultComponents, ComponentChanges components) -
Uses of ComponentChanges in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final ComponentChanges
ItemStackArgument.components
private final ComponentChanges
ItemStringReader.ItemResult.components
The field for thecomponents
record component.Modifier and TypeMethodDescriptionItemStringReader.ItemResult.components()
Returns the value of thecomponents
record component.Modifier and TypeMethodDescriptionprivate static void
ItemStringReader.validate
(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentChanges components) ModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, ComponentChanges componentChanges) ItemStackArgument
(RegistryEntry<Item> item, ComponentChanges components) -
Uses of ComponentChanges in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentChanges> ComponentChanges.CODEC
static final PacketCodec
<RegistryByteBuf, ComponentChanges> ComponentChanges.PACKET_CODEC
Modifier and TypeMethodDescriptionComponentChanges.Builder.build()
ComponentMapImpl.getChanges()
ComponentChanges.withRemovedIf
(Predicate<ComponentType<?>> removedTypePredicate) Modifier 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
Modifier and TypeMethodDescriptionvoid
ItemStack.applyChanges
(ComponentChanges changes) void
ItemStack.applyUnvalidatedChanges
(ComponentChanges changes) ModifierConstructorDescriptionItemStack
(RegistryEntry<Item> item, int count, ComponentChanges changes) -
Uses of ComponentChanges in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final ComponentChanges
SetComponentsLootFunction.changes
ModifierConstructorDescriptionprivate
SetComponentsLootFunction
(List<LootCondition> conditions, ComponentChanges changes) -
Uses of ComponentChanges in net.minecraft.predicate
-
Uses of ComponentChanges in net.minecraft.text
Modifier and TypeFieldDescriptionprivate final ComponentChanges
HoverEvent.ItemStackContent.changes
ModifierConstructorDescription(package private)
ItemStackContent
(RegistryEntry<Item> item, int count, ComponentChanges changes)