net.minecraft.core.component

public interface DataComponentHolder

extends DataComponentGetter

kf
net.minecraft.core.component.DataComponentHolder
net.minecraft.class_9322
net.minecraft.component.ComponentHolder

Method summary

Modifier and TypeMethod
DataComponentMap
a()
getComponents()
method_57353()
getComponents()
default <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
default <T> Stream<T>
a(Class<? extends T> arg0)
getAllOfType(Class<? extends T> arg0)
method_62984(Class<? extends T> arg0)
streamAll(Class<? extends T> valueClass)
default <T> T
a(ki<? extends T> arg0, T arg1)
getOrDefault(DataComponentType<? extends T> arg0, T arg1)
method_58695(class_9331<? extends T> arg0, T arg1)
getOrDefault(ComponentType<? extends T> arg0, T arg1)
default boolean
c(ki<?> arg0)
has(DataComponentType<?> arg0)
method_57826(class_9331<?> arg0)
contains(ComponentType<?> type)