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 named net/minecraft/entity/ai/brain/task/FrogEatEntityTask
intermediary net/minecraft/class_7108
official cjs
-
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 named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;RUN_TIME:I
intermediary field_37479
Lnet/minecraft/class_7108;field_37479:I
official c
Lcjs;c:I
-
CATCH_DURATION
public static final int CATCH_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named CATCH_DURATION
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;CATCH_DURATION:I
intermediary field_38414
Lnet/minecraft/class_7108;field_38414:I
official d
Lcjs;d:I
-
EAT_DURATION
public static final int EAT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named EAT_DURATION
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;EAT_DURATION:I
intermediary field_37480
Lnet/minecraft/class_7108;field_37480:I
official e
Lcjs;e:I
-
MAX_DISTANCE
private static final float MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_DISTANCE
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_DISTANCE:F
intermediary field_37481
Lnet/minecraft/class_7108;field_37481:F
official h
Lcjs;h:F
-
VELOCITY_MULTIPLIER
private static final float VELOCITY_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named VELOCITY_MULTIPLIER
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;VELOCITY_MULTIPLIER:F
intermediary field_37482
Lnet/minecraft/class_7108;field_37482:F
official i
Lcjs;i:F
-
UNREACHABLE_TONGUE_TARGETS_START_TIME
public static final int UNREACHABLE_TONGUE_TARGETS_START_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named UNREACHABLE_TONGUE_TARGETS_START_TIME
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;UNREACHABLE_TONGUE_TARGETS_START_TIME:I
intermediary field_39452
Lnet/minecraft/class_7108;field_39452:I
official f
Lcjs;f:I
-
MAX_UNREACHABLE_TONGUE_TARGETS
public static final int MAX_UNREACHABLE_TONGUE_TARGETS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_UNREACHABLE_TONGUE_TARGETS
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_UNREACHABLE_TONGUE_TARGETS:I
intermediary field_39453
Lnet/minecraft/class_7108;field_39453:I
official g
Lcjs;g:I
-
eatTick
private int eatTick- Mappings:
Namespace Name Mixin selector named eatTick
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatTick:I
intermediary field_37483
Lnet/minecraft/class_7108;field_37483:I
official j
Lcjs;j:I
-
moveToTargetTick
private int moveToTargetTick- Mappings:
Namespace Name Mixin selector named moveToTargetTick
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;moveToTargetTick:I
intermediary field_37484
Lnet/minecraft/class_7108;field_37484:I
official k
Lcjs;k:I
-
tongueSound
- Mappings:
Namespace Name Mixin selector named tongueSound
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;tongueSound:Lnet/minecraft/sound/SoundEvent;
intermediary field_37485
Lnet/minecraft/class_7108;field_37485:Lnet/minecraft/class_3414;
official l
Lcjs;l:Laxe;
-
eatSound
- Mappings:
Namespace Name Mixin selector named eatSound
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatSound:Lnet/minecraft/sound/SoundEvent;
intermediary field_37486
Lnet/minecraft/class_7108;field_37486:Lnet/minecraft/class_3414;
official m
Lcjs;m:Laxe;
-
targetPos
- Mappings:
Namespace Name Mixin selector named targetPos
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;targetPos:Lnet/minecraft/util/math/Vec3d;
intermediary field_37487
Lnet/minecraft/class_7108;field_37487:Lnet/minecraft/class_243;
official n
Lcjs;n:Lfbx;
-
phase
- Mappings:
Namespace Name Mixin selector named phase
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;phase:Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask$Phase;
intermediary field_37489
Lnet/minecraft/class_7108;field_37489:Lnet/minecraft/class_7108$class_7109;
official o
Lcjs;o:Lcjs$a;
-
-
Constructor Details
-
FrogEatEntityTask
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)V
intermediary <init>
Lnet/minecraft/class_7108;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
official <init>
Lcjs;<init>(Laxe;Laxe;)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
intermediary method_41384
Lnet/minecraft/class_7108;method_41384(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
official a
Lcjs;a(Lash;Lcjq;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
intermediary method_41385
Lnet/minecraft/class_7108;method_41385(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
official a
Lcjs;a(Lash;Lcjq;J)Z
-
run
- Overrides:
run
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
intermediary method_41387
Lnet/minecraft/class_7108;method_41387(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
official b
Lcjs;b(Lash;Lcjq;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
intermediary method_41388
Lnet/minecraft/class_7108;method_41388(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
official c
Lcjs;c(Lash;Lcjq;J)V
-
eat
- Mappings:
Namespace Name Mixin selector named eat
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eat(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)V
intermediary method_42667
Lnet/minecraft/class_7108;method_42667(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)V
official b
Lcjs;b(Lash;Lcjq;)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector named keepRunning
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
intermediary method_41389
Lnet/minecraft/class_7108;method_41389(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
official d
Lcjs;d(Lash;Lcjq;J)V
-
isTargetReachable
- Mappings:
Namespace Name Mixin selector named isTargetReachable
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;isTargetReachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_44332
Lnet/minecraft/class_7108;method_44332(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)Z
official a
Lcjs;a(Lcjq;Lbwf;)Z
-
markTargetAsUnreachable
- Mappings:
Namespace Name Mixin selector named markTargetAsUnreachable
Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;markTargetAsUnreachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_44333
Lnet/minecraft/class_7108;method_44333(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)V
official b
Lcjs;b(Lcjq;Lbwf;)V
-