Class FrogEatEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<FrogEntity>
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
- All Implemented Interfaces:
Task<FrogEntity>
- Mappings:
Namespace Name official bta
intermediary net/minecraft/class_7108
named net/minecraft/entity/ai/brain/task/FrogEatEntityTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier 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.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
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.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, stop, tick, tryStarting
-
Field Details
-
RUN_TIME
public static final int RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbta;c: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
Lbta;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
Lbta;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
Lbta;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
Lbta;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
Lbta;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
Lbta;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
Lbta;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
Lbta;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
Lbta;l:Lamq;
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
Lbta;m:Lamq;
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
Lbta;n:Lede;
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
Lbta;o:Lbta$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>
Lbta;<init>(Lamq;Lamq;)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 classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbta;a(Laip;Lbsy;)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 classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbta;a(Laip;Lbsy;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 classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbta;b(Laip;Lbsy;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 classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbta;c(Laip;Lbsy;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
Lbta;b(Laip;Lbsy;)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 classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbta;d(Laip;Lbsy;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
Lbta;a(Lbsy;Lbfx;)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
Lbta;b(Lbsy;Lbfx;)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
-