net.minecraft.core.component

public interface DataComponentHolder

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

Method summary

Modifier and TypeMethod
DataComponentMap
a()
getComponents()
method_57353()
getComponents()
default <T> T
a(kt<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_57824(class_9331<? extends T> arg0)
get(ComponentType<? extends T> type)
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(kt<? extends T> arg0, T arg1)
getOrDefault(DataComponentType<? extends T> arg0, T arg1)
method_57825(class_9331<? extends T> arg0, T arg1)
getOrDefault(ComponentType<? extends T> type, T fallback)
default boolean
b(kt<?> arg0)
has(DataComponentType<?> arg0)
method_57826(class_9331<?> arg0)
contains(ComponentType<?> type)