Uses of Interface
net.minecraft.core.component.DataComponentHolder
Package
Description
-
Uses of DataComponentHolder in net.minecraft.core.component
Modifier and TypeMethodDescriptionboolean
DataComponentPredicate.test
(DataComponentHolder p_331666_) -
Uses of DataComponentHolder in net.minecraft.world.item
-
Uses of DataComponentHolder in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptiondefault void
MutableDataComponentHolder.copyFrom
(DataComponentHolder src, Supplier<? extends DataComponentType<?>>... componentTypes) Copies all data components fromsrc
default void
MutableDataComponentHolder.copyFrom
(DataComponentHolder src, DataComponentType<?>... componentTypes) Copies all data components fromsrc
private <T> void
MutableDataComponentHolder.copyFrom
(DataComponentType<T> componentType, DataComponentHolder src) -
Uses of DataComponentHolder in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionprivate DataComponentHolder
IDataComponentHolderExtension.self()
-
Uses of DataComponentHolder in net.neoforged.neoforge.fluids
Modifier and TypeClassDescriptionfinal class
ItemStack
equivalent for fluids.class
Stock data component class to hold aFluidStack
.