Package net.minecraft.block.entity
Interface BlockEntity.ComponentsAccess
- Enclosing class:
BlockEntity
protected static interface BlockEntity.ComponentsAccess
- Mappings:
Namespace Name named net/minecraft/block/entity/BlockEntity$ComponentsAccess
intermediary net/minecraft/class_2586$class_9473
official dpj$b
-
Method Summary
Modifier and TypeMethodDescription<T> T
get
(DataComponentType<T> type) <T> T
getOrDefault
(DataComponentType<? extends T> type, T fallback)
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/block/entity/BlockEntity$ComponentsAccess;get(Lnet/minecraft/component/DataComponentType;)Ljava/lang/Object;
intermediary method_58694
Lnet/minecraft/class_2586$class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;
official a
Ldpj$b;a(Lkl;)Ljava/lang/Object;
-
getOrDefault
- Mappings:
Namespace Name Mixin selector named getOrDefault
Lnet/minecraft/block/entity/BlockEntity$ComponentsAccess;getOrDefault(Lnet/minecraft/component/DataComponentType;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_58695
Lnet/minecraft/class_2586$class_9473;method_58695(Lnet/minecraft/class_9331;Ljava/lang/Object;)Ljava/lang/Object;
official a
Ldpj$b;a(Lkl;Ljava/lang/Object;)Ljava/lang/Object;
-