Class FrogEatEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<FrogEntity>
net.minecraft.entity.ai.brain.task.FrogEatEntityTask
- Mappings:
Namespace Name official bnxintermediary net/minecraft/class_7108named 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 intstatic final intprivate final SoundEventprivate intprivate static final floatstatic final intprivate intprivate FrogEatEntityTask.Phasestatic final intprivate Vec3dprivate final SoundEventstatic final intprivate static final floatFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voideat(ServerWorld world, FrogEntity frog) protected voidfinishRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) private booleanisTargetReachable(FrogEntity entity, LivingEntity target) protected voidkeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) private voidmarkTargetAsUnreachable(FrogEntity entity, LivingEntity target) protected voidrun(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected booleanshouldKeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected booleanshouldRun(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 aLbnx;a:Iintermediary field_37479Lnet/minecraft/class_7108;field_37479:Inamed RUN_TIMELnet/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 dLbnx;d:Iintermediary field_38414Lnet/minecraft/class_7108;field_38414:Inamed CATCH_DURATIONLnet/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 eLbnx;e:Iintermediary field_37480Lnet/minecraft/class_7108;field_37480:Inamed EAT_DURATIONLnet/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 hLbnx;h:Fintermediary field_37481Lnet/minecraft/class_7108;field_37481:Fnamed MAX_DISTANCELnet/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 iLbnx;i:Fintermediary field_37482Lnet/minecraft/class_7108;field_37482:Fnamed VELOCITY_MULTIPLIERLnet/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 fLbnx;f:Iintermediary field_39452Lnet/minecraft/class_7108;field_39452:Inamed UNREACHABLE_TONGUE_TARGETS_START_TIMELnet/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 gLbnx;g:Iintermediary field_39453Lnet/minecraft/class_7108;field_39453:Inamed MAX_UNREACHABLE_TONGUE_TARGETSLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_UNREACHABLE_TONGUE_TARGETS:I
-
eatTick
private int eatTick- Mappings:
Namespace Name Mixin selector official jLbnx;j:Iintermediary field_37483Lnet/minecraft/class_7108;field_37483:Inamed eatTickLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatTick:I
-
moveToTargetTick
private int moveToTargetTick- Mappings:
Namespace Name Mixin selector official kLbnx;k:Iintermediary field_37484Lnet/minecraft/class_7108;field_37484:Inamed moveToTargetTickLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;moveToTargetTick:I
-
tongueSound
- Mappings:
Namespace Name Mixin selector official lLbnx;l:Lajd;intermediary field_37485Lnet/minecraft/class_7108;field_37485:Lnet/minecraft/class_3414;named tongueSoundLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;tongueSound:Lnet/minecraft/sound/SoundEvent;
-
eatSound
- Mappings:
Namespace Name Mixin selector official mLbnx;m:Lajd;intermediary field_37486Lnet/minecraft/class_7108;field_37486:Lnet/minecraft/class_3414;named eatSoundLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatSound:Lnet/minecraft/sound/SoundEvent;
-
targetPos
- Mappings:
Namespace Name Mixin selector official nLbnx;n:Ldvv;intermediary field_37487Lnet/minecraft/class_7108;field_37487:Lnet/minecraft/class_243;named targetPosLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;targetPos:Lnet/minecraft/util/math/Vec3d;
-
phase
- Mappings:
Namespace Name Mixin selector official oLbnx;o:Lbnx$a;intermediary field_37489Lnet/minecraft/class_7108;field_37489:Lnet/minecraft/class_7108$class_7109;named phaseLnet/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>Lbnx;<init>(Lajd;Lajd;)Vintermediary <init>Lnet/minecraft/class_7108;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;)Vnamed <init>Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classTask<FrogEntity>- Mappings:
Namespace Name Mixin selector official aLbnx;a(Lafo;Lbnv;)Zintermediary method_41384Lnet/minecraft/class_7108;method_41384(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Znamed shouldRunLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunningin classTask<FrogEntity>- Mappings:
Namespace Name Mixin selector official aLbnx;a(Lafo;Lbnv;J)Zintermediary method_41385Lnet/minecraft/class_7108;method_41385(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Znamed shouldKeepRunningLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
-
run
- Overrides:
runin classTask<FrogEntity>- Mappings:
Namespace Name Mixin selector official bLbnx;b(Lafo;Lbnv;J)Vintermediary method_41387Lnet/minecraft/class_7108;method_41387(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Vnamed runLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
finishRunning
- Overrides:
finishRunningin classTask<FrogEntity>- Mappings:
Namespace Name Mixin selector official cLbnx;c(Lafo;Lbnv;J)Vintermediary method_41388Lnet/minecraft/class_7108;method_41388(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Vnamed finishRunningLnet/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 bLbnx;b(Lafo;Lbnv;)Vintermediary method_42667Lnet/minecraft/class_7108;method_42667(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Vnamed eatLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eat(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)V
-
keepRunning
- Overrides:
keepRunningin classTask<FrogEntity>- Mappings:
Namespace Name Mixin selector official dLbnx;d(Lafo;Lbnv;J)Vintermediary method_41389Lnet/minecraft/class_7108;method_41389(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Vnamed keepRunningLnet/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 aLbnx;a(Lbnv;Lbbh;)Zintermediary method_44332Lnet/minecraft/class_7108;method_44332(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)Znamed isTargetReachableLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;isTargetReachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
markTargetAsUnreachable
- Mappings:
Namespace Name Mixin selector official bLbnx;b(Lbnv;Lbbh;)Vintermediary method_44333Lnet/minecraft/class_7108;method_44333(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)Vnamed markTargetAsUnreachableLnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;markTargetAsUnreachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)V
-