net.minecraft.core.component

public interface DataComponentGetter

ke
net.minecraft.core.component.DataComponentGetter
net.minecraft.class_9473
net.minecraft.component.ComponentsAccess

Method summary

Modifier and TypeMethod
<T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> type)
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> type, T fallback)
default <T> TypedDataComponent<T>
b(ki<T> arg0)
getTyped(DataComponentType<T> arg0)
method_66876(class_9331<T> arg0)
getTyped(ComponentType<T> type)