yarn/mappings/net/minecraft/entity/ai/goal/ActiveTargetGoal.mapping

42 lines
1.6 KiB
Plaintext

CLASS net/minecraft/class_1400 net/minecraft/entity/ai/goal/ActiveTargetGoal
COMMENT A target goal that finds a target by entity class when the goal starts.
FIELD field_36304 DEFAULT_RECIPROCAL_CHANCE I
FIELD field_6641 reciprocalChance I
COMMENT The reciprocal of chance to actually search for a target on every tick
COMMENT when this goal is not started. This is also the average number of ticks
COMMENT between each search (as in a poisson distribution).
FIELD field_6642 targetPredicate Lnet/minecraft/class_4051;
FIELD field_6644 targetEntity Lnet/minecraft/class_1309;
METHOD <init> (Lnet/minecraft/class_1308;Ljava/lang/Class;IZZLjava/util/function/Predicate;)V
ARG 1 mob
ARG 2 targetClass
ARG 3 reciprocalChance
ARG 4 checkVisibility
ARG 5 checkCanNavigate
ARG 6 targetPredicate
METHOD <init> (Lnet/minecraft/class_1308;Ljava/lang/Class;Z)V
ARG 1 mob
ARG 2 targetClass
ARG 3 checkVisibility
METHOD <init> (Lnet/minecraft/class_1308;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
ARG 1 mob
ARG 2 targetClass
ARG 3 checkVisibility
ARG 4 targetPredicate
METHOD <init> (Lnet/minecraft/class_1308;Ljava/lang/Class;ZZ)V
ARG 1 mob
ARG 2 targetClass
ARG 3 checkVisibility
ARG 4 checkCanNavigate
METHOD <init> (Lnet/minecraft/class_1308;Ljava/util/function/Predicate;IZZLjava/util/function/Predicate;)V
ARG 1 mob
ARG 3 reciprocalChance
ARG 4 checkVisibility
ARG 5 checkCanNavigate
ARG 6 targetPredicate
METHOD method_18415 findClosestTarget ()V
METHOD method_24632 setTargetEntity (Lnet/minecraft/class_1309;)V
ARG 1 targetEntity
METHOD method_6321 getSearchBox (D)Lnet/minecraft/class_238;
ARG 1 distance