Uses of Class
net.minecraft.core.component.DataComponentPatch
Package
Description
-
Uses of DataComponentPatch in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataComponentPatch> DataComponentPatch.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.STREAM_CODEC
Modifier and TypeMethodDescriptionDataComponentPredicate.asPatch()
PatchedDataComponentMap.asPatch()
DataComponentPatch.Builder.build()
DataComponentPatch.forget
(Predicate<DataComponentType<?>> p_338629_) Modifier and TypeMethodDescriptionvoid
PatchedDataComponentMap.applyPatch
(DataComponentPatch p_331964_) static PatchedDataComponentMap
PatchedDataComponentMap.fromPatch
(DataComponentMap p_331807_, DataComponentPatch p_331890_) void
PatchedDataComponentMap.restorePatch
(DataComponentPatch p_341355_) -
Uses of DataComponentPatch in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate final DataComponentPatch
HoverEvent.ItemStackInfo.components
ModifierConstructorDescription(package private)
ItemStackInfo
(Holder<Item> p_330519_, int p_130894_, DataComponentPatch p_331646_) -
Uses of DataComponentPatch in net.minecraft.world.item
Modifier and TypeMethodDescriptionvoid
ItemStack.applyComponents
(DataComponentPatch p_332097_) void
ItemStack.applyComponentsAndValidate
(DataComponentPatch p_341407_) void
Item.modifyDefaultComponentsFrom
(DataComponentPatch patch) Deprecated.ModifierConstructorDescriptionItemStack
(Holder<Item> p_312081_, int p_41605_, DataComponentPatch p_330362_) -
Uses of DataComponentPatch in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionfinal void
BlockEntity.applyComponents
(DataComponentMap p_330364_, DataComponentPatch p_338381_) -
Uses of DataComponentPatch in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final DataComponentPatch
SetComponentsFunction.components
ModifierConstructorDescriptionprivate
SetComponentsFunction
(List<LootItemCondition> p_330669_, DataComponentPatch p_330819_) -
Uses of DataComponentPatch in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionvoid
MutableDataComponentHolder.applyComponents
(DataComponentPatch patch) Applies a set of component changes to this stack. -
Uses of DataComponentPatch in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionvoid
FluidStack.applyComponents
(DataComponentPatch patch) Applies a set of component changes to this stack.ModifierConstructorDescriptionFluidStack
(Holder<Fluid> fluid, int amount, DataComponentPatch patch)
the event
instead