Package net.minecraft.entity.ai.brain
Class Brain.MemoryEntry<U>
java.lang.Object
net.minecraft.entity.ai.brain.Brain.MemoryEntry<U>
- Enclosing class:
Brain<E extends LivingEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/Brain$MemoryEntry
intermediary net/minecraft/class_4095$class_5302
official bus$a
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) static <U> Brain.MemoryEntry
<U> of
(MemoryModuleType<U> type, Optional<? extends Memory<?>> data) <T> void
serialize
(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.RecordBuilder<T> builder)
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;type:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
intermediary field_24661
Lnet/minecraft/class_4095$class_5302;field_24661:Lnet/minecraft/class_4140;
official a
Lbus$a;a:Lccu;
-
data
- Mappings:
Namespace Name Mixin selector named data
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;data:Ljava/util/Optional;
intermediary field_24662
Lnet/minecraft/class_4095$class_5302;field_24662:Ljava/util/Optional;
official b
Lbus$a;b:Ljava/util/Optional;
-
-
Constructor Details
-
MemoryEntry
MemoryEntry(MemoryModuleType<U> type, Optional<? extends Memory<U>> data) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_4095$class_5302;<init>(Lnet/minecraft/class_4140;Ljava/util/Optional;)V
official <init>
Lbus$a;<init>(Lccu;Ljava/util/Optional;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;of(Lnet/minecraft/entity/ai/brain/MemoryModuleType;Ljava/util/Optional;)Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;
intermediary method_28333
Lnet/minecraft/class_4095$class_5302;method_28333(Lnet/minecraft/class_4140;Ljava/util/Optional;)Lnet/minecraft/class_4095$class_5302;
official a
Lbus$a;a(Lccu;Ljava/util/Optional;)Lbus$a;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;apply(Lnet/minecraft/entity/ai/brain/Brain;)V
intermediary method_28328
Lnet/minecraft/class_4095$class_5302;method_28328(Lnet/minecraft/class_4095;)V
official a
Lbus$a;a(Lbus;)V
-
serialize
public <T> void serialize(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.RecordBuilder<T> builder) - Mappings:
Namespace Name Mixin selector named serialize
Lnet/minecraft/entity/ai/brain/Brain$MemoryEntry;serialize(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)V
intermediary method_28330
Lnet/minecraft/class_4095$class_5302;method_28330(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)V
official a
Lbus$a;a(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)V
-