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.LENGTH_PREPENDED_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ComponentChanges> ComponentChanges.PACKET_CODEC
Methods in net.minecraft.component that return ComponentChangesModifier and TypeMethodDescriptionComponentChanges.Builder.build()
MergedComponentMap.getChanges()
ComponentChanges.withRemovedIf
(Predicate<ComponentType<?>> removedTypePredicate) Methods in net.minecraft.component that return types with arguments of type ComponentChangesModifier and TypeMethodDescriptionprivate static PacketCodec
<RegistryByteBuf, ComponentChanges> ComponentChanges.createPacketCodec
(ComponentChanges.PacketCodecFunction packetCodecFunction) Methods in net.minecraft.component with parameters of type ComponentChangesModifier and TypeMethodDescriptionvoid
MergedComponentMap.applyChanges
(ComponentChanges changes) static MergedComponentMap
MergedComponentMap.create
(ComponentMap baseComponents, ComponentChanges changes) void
MergedComponentMap.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) Method parameters in net.minecraft.item with type arguments of type ComponentChangesModifier and TypeMethodDescriptionprivate static PacketCodec
<RegistryByteBuf, ItemStack> ItemStack.createOptionalPacketCodec
(PacketCodec<RegistryByteBuf, ComponentChanges> componentsPacketCodec) 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.component
Methods in net.minecraft.predicate.component that return ComponentChanges -
Uses of ComponentChanges in net.minecraft.recipe
Fields in net.minecraft.recipe declared as ComponentChangesModifier and TypeFieldDescriptionprivate final ComponentChanges
TransmuteRecipeResult.components
The field for thecomponents
record component.Methods in net.minecraft.recipe that return ComponentChangesModifier and TypeMethodDescriptionTransmuteRecipeResult.components()
Returns the value of thecomponents
record component.Constructors in net.minecraft.recipe with parameters of type ComponentChangesModifierConstructorDescriptionTransmuteRecipeResult
(RegistryEntry<Item> registryEntry, int int2, ComponentChanges componentChanges) -
Uses of ComponentChanges in net.minecraft.screen.sync
Methods in net.minecraft.screen.sync with parameters of type ComponentChangesModifier and TypeMethodDescriptionstatic ComponentChangesHash
ComponentChangesHash.fromComponents
(ComponentChanges changes, ComponentChangesHash.ComponentHasher hasher) boolean
ComponentChangesHash.hashEquals
(ComponentChanges changes, ComponentChangesHash.ComponentHasher hasher)