Interface BlockEntity.DataComponentInput
- Enclosing class:
BlockEntity
protected static interface BlockEntity.DataComponentInput
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> T
get
(Supplier<? extends DataComponentType<T>> componentType) <T> T
get
(DataComponentType<T> p_338658_) default <T> T
getOrDefault
(Supplier<? extends DataComponentType<T>> componentType, T value) <T> T
getOrDefault
(DataComponentType<? extends T> p_338573_, T p_338734_)
-
Method Details
-
get
-
getOrDefault
-
get
-
getOrDefault
-