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.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<DataComponentType<?>> 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)