Package net.minecraft.entity.ai.goal
Class TemptGoal.HappyGhastTemptGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.ai.goal.TemptGoal.HappyGhastTemptGoal
- Enclosing class:
TemptGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/TemptGoal$HappyGhastTemptGoal
intermediary net/minecraft/class_1391$class_11185
official ciq$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.TemptGoal
TemptGoal.HappyGhastTemptGoal
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob, speed
-
Constructor Summary
ConstructorsConstructorDescriptionHappyGhastTemptGoal
(MobEntity entity, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared, double range) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
startMovingTo
(PlayerEntity player) protected void
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
canBeScared, canStart, isActive, shouldContinue, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Constructor Details
-
HappyGhastTemptGoal
public HappyGhastTemptGoal(MobEntity entity, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared, double range) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/TemptGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;DLjava/util/function/Predicate;ZD)V
intermediary <init>
Lnet/minecraft/class_1391;<init>(Lnet/minecraft/class_1308;DLjava/util/function/Predicate;ZD)V
official <init>
Lciq;<init>(Lcao;DLjava/util/function/Predicate;ZD)V
-
-
Method Details
-
stopMoving
protected void stopMoving()- Overrides:
stopMoving
in classTemptGoal
- Mappings:
Namespace Name Mixin selector named stopMoving
Lnet/minecraft/entity/ai/goal/TemptGoal;stopMoving()V
intermediary method_70685
Lnet/minecraft/class_1391;method_70685()V
official i
Lciq;i()V
-
startMovingTo
- Overrides:
startMovingTo
in classTemptGoal
- Mappings:
Namespace Name Mixin selector named startMovingTo
Lnet/minecraft/entity/ai/goal/TemptGoal;startMovingTo(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_70684
Lnet/minecraft/class_1391;method_70684(Lnet/minecraft/class_1657;)V
official a
Lciq;a(Lcut;)V
-