mirror of https://github.com/FabricMC/yarn.git
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
CLASS net/minecraft/class_4148 net/minecraft/entity/ai/brain/sensor/Sensor
|
|
COMMENT A sensor can update memories over time in a brain. The sensor's computation
|
|
COMMENT replaces that of individual tasks, so that it is more efficient than the goal
|
|
COMMENT system.
|
|
COMMENT
|
|
COMMENT @see Brain#sensors
|
|
FIELD field_18463 lastSenseTime J
|
|
FIELD field_18464 senseInterval I
|
|
FIELD field_19294 RANDOM Ljava/util/Random;
|
|
FIELD field_26630 TARGET_PREDICATE Lnet/minecraft/class_4051;
|
|
FIELD field_26631 TARGET_PREDICATE_IGNORE_DISTANCE_SCALING Lnet/minecraft/class_4051;
|
|
FIELD field_30258 BASE_MAX_DISTANCE I
|
|
FIELD field_30259 DEFAULT_RUN_TIME I
|
|
METHOD <init> (I)V
|
|
ARG 1 senseInterval
|
|
METHOD method_19099 getOutputMemoryModules ()Ljava/util/Set;
|
|
METHOD method_19100 tick (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
|
|
ARG 1 world
|
|
ARG 2 entity
|
|
METHOD method_19101 sense (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
|
|
ARG 1 world
|
|
ARG 2 entity
|
|
METHOD method_30954 testTargetPredicate (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
|
|
ARG 0 entity
|
|
ARG 1 target
|