2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_4140 net/minecraft/entity/ai/brain/MemoryModuleType
|
2021-06-08 19:14:21 -04:00
|
|
|
COMMENT A memory module type represents a type of data stored in a brain. The memory
|
|
|
|
COMMENT data can be shared by different tasks once they are updated by a sensor or
|
|
|
|
COMMENT created by some task. This can avoid some redundant calculations.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see Brain#memories
|
|
|
|
COMMENT @see Memory
|
2020-07-27 14:44:57 -04:00
|
|
|
FIELD field_24668 codec Ljava/util/Optional;
|
2019-12-19 13:46:57 -05:00
|
|
|
METHOD <init> (Ljava/util/Optional;)V
|
2020-08-30 06:07:55 -04:00
|
|
|
ARG 1 codec
|
2020-05-20 12:12:58 -04:00
|
|
|
METHOD method_19092 register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4140;
|
2019-12-19 13:46:57 -05:00
|
|
|
ARG 0 id
|
2020-08-30 06:07:55 -04:00
|
|
|
ARG 1 codec
|
2020-07-27 14:44:57 -04:00
|
|
|
METHOD method_19093 getCodec ()Ljava/util/Optional;
|
2019-12-19 13:46:57 -05:00
|
|
|
METHOD method_20738 register (Ljava/lang/String;)Lnet/minecraft/class_4140;
|
|
|
|
ARG 0 id
|