net.minecraft.core.component

public interface DataComponentHolder

kl
net.minecraft.core.component.DataComponentHolder
net.minecraft.class_9322
net.minecraft.component.ComponentHolder
net.minecraft.src.C_313552_
net.minecraft.core.component.DataComponentHolder

Method summary

Modifier and TypeMethod
DataComponentMap
a()
getComponents()
method_57353()
getComponents()
m_318732_()
default <T> T
a(kp<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_57824(class_9331<? extends T> arg0)
get(ComponentType<? extends T> type)
m_323252_(C_313543_<? extends T> arg0)
default <T> T
a(kp<? 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)
m_322304_(C_313543_<? extends T> p_333219_, T arg1)
default boolean
b(kp<?> arg0)
has(DataComponentType<?> arg0)
method_57826(class_9331<?> arg0)
contains(ComponentType<?> type)
m_319951_(C_313543_<?> arg0)