Class FrogEatEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<FrogEntity>
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
- Mappings:
Namespace Name official bos
intermediary net/minecraft/class_7108
named net/minecraft/entity/ai/brain/task/FrogEatEntityTask
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
private final SoundEvent
private int
private static final float
static final int
private int
private FrogEatEntityTask.Phase
static final int
private Vec3d
private final SoundEvent
static final int
private static final float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
eat
(ServerWorld world, FrogEntity frog) protected void
finishRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) private boolean
isTargetReachable
(FrogEntity entity, LivingEntity target) protected void
keepRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) private void
markTargetAsUnreachable
(FrogEntity entity, LivingEntity target) protected void
run
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, FrogEntity frogEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, stop, tick, toString, tryStarting
-
Field Details
-
RUN_TIME
public static final int RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbos;a:I
intermediary field_37479
Lnet/minecraft/class_7108;field_37479:I
named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;RUN_TIME:I
-
CATCH_DURATION
public static final int CATCH_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbos;d:I
intermediary field_38414
Lnet/minecraft/class_7108;field_38414:I
named CATCH_DURATION
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;CATCH_DURATION:I
-
EAT_DURATION
public static final int EAT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbos;e:I
intermediary field_37480
Lnet/minecraft/class_7108;field_37480:I
named EAT_DURATION
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;EAT_DURATION:I
-
MAX_DISTANCE
private static final float MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lbos;h:F
intermediary field_37481
Lnet/minecraft/class_7108;field_37481:F
named MAX_DISTANCE
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_DISTANCE:F
-
VELOCITY_MULTIPLIER
private static final float VELOCITY_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lbos;i:F
intermediary field_37482
Lnet/minecraft/class_7108;field_37482:F
named VELOCITY_MULTIPLIER
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;VELOCITY_MULTIPLIER:F
-
UNREACHABLE_TONGUE_TARGETS_START_TIME
public static final int UNREACHABLE_TONGUE_TARGETS_START_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbos;f:I
intermediary field_39452
Lnet/minecraft/class_7108;field_39452:I
named UNREACHABLE_TONGUE_TARGETS_START_TIME
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;UNREACHABLE_TONGUE_TARGETS_START_TIME:I
-
MAX_UNREACHABLE_TONGUE_TARGETS
public static final int MAX_UNREACHABLE_TONGUE_TARGETS- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbos;g:I
intermediary field_39453
Lnet/minecraft/class_7108;field_39453:I
named MAX_UNREACHABLE_TONGUE_TARGETS
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_UNREACHABLE_TONGUE_TARGETS:I
-
eatTick
private int eatTick- Mappings:
Namespace Name Mixin selector official j
Lbos;j:I
intermediary field_37483
Lnet/minecraft/class_7108;field_37483:I
named eatTick
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatTick:I
-
moveToTargetTick
private int moveToTargetTick- Mappings:
Namespace Name Mixin selector official k
Lbos;k:I
intermediary field_37484
Lnet/minecraft/class_7108;field_37484:I
named moveToTargetTick
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;moveToTargetTick:I
-
tongueSound
- Mappings:
Namespace Name Mixin selector official l
Lbos;l:Lajv;
intermediary field_37485
Lnet/minecraft/class_7108;field_37485:Lnet/minecraft/class_3414;
named tongueSound
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;tongueSound:Lnet/minecraft/sound/SoundEvent;
-
eatSound
- Mappings:
Namespace Name Mixin selector official m
Lbos;m:Lajv;
intermediary field_37486
Lnet/minecraft/class_7108;field_37486:Lnet/minecraft/class_3414;
named eatSound
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatSound:Lnet/minecraft/sound/SoundEvent;
-
targetPos
- Mappings:
Namespace Name Mixin selector official n
Lbos;n:Ldwq;
intermediary field_37487
Lnet/minecraft/class_7108;field_37487:Lnet/minecraft/class_243;
named targetPos
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;targetPos:Lnet/minecraft/util/math/Vec3d;
-
phase
- Mappings:
Namespace Name Mixin selector official o
Lbos;o:Lbos$a;
intermediary field_37489
Lnet/minecraft/class_7108;field_37489:Lnet/minecraft/class_7108$class_7109;
named phase
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;phase:Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask$Phase;
-
-
Constructor Details
-
FrogEatEntityTask
- Mappings:
Namespace Name Mixin selector official <init>
Lbos;<init>(Lajv;Lajv;)V
intermediary <init>
Lnet/minecraft/class_7108;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbos;a(Lagg;Lboq;)Z
intermediary method_41384
Lnet/minecraft/class_7108;method_41384(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbos;a(Lagg;Lboq;J)Z
intermediary method_41385
Lnet/minecraft/class_7108;method_41385(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
-
run
- Overrides:
run
in classTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbos;b(Lagg;Lboq;J)V
intermediary method_41387
Lnet/minecraft/class_7108;method_41387(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named run
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbos;c(Lagg;Lboq;J)V
intermediary method_41388
Lnet/minecraft/class_7108;method_41388(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
eat
- Mappings:
Namespace Name Mixin selector official b
Lbos;b(Lagg;Lboq;)V
intermediary method_42667
Lnet/minecraft/class_7108;method_42667(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)V
named eat
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eat(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)V
-
keepRunning
- Overrides:
keepRunning
in classTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbos;d(Lagg;Lboq;J)V
intermediary method_41389
Lnet/minecraft/class_7108;method_41389(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
isTargetReachable
- Mappings:
Namespace Name Mixin selector official a
Lbos;a(Lboq;Lbcc;)Z
intermediary method_44332
Lnet/minecraft/class_7108;method_44332(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)Z
named isTargetReachable
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;isTargetReachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
markTargetAsUnreachable
- Mappings:
Namespace Name Mixin selector official b
Lbos;b(Lboq;Lbcc;)V
intermediary method_44333
Lnet/minecraft/class_7108;method_44333(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)V
named markTargetAsUnreachable
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;markTargetAsUnreachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)V
-