net.minecraft.core.component

public interface DataComponentGetter

kr
net.minecraft.core.component.DataComponentGetter
net.minecraft.class_9473
net.minecraft.block.entity.ComponentsAccess

Method summary

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