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$HappyGhastTemptGoalintermediary net/minecraft/class_1391$class_11185official cnb$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.TemptGoal
TemptGoal.HappyGhastTemptGoalNested 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 mob, double speed, Predicate<ItemStack> temptItemPredicate, boolean canBeScared, double range) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstartMovingTo(PlayerEntity player) protected voidMethods inherited from class net.minecraft.entity.ai.goal.TemptGoal
canBeScared, canStart, isActive, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Constructor Details
-
HappyGhastTemptGoal
public HappyGhastTemptGoal(MobEntity mob, 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)Vintermediary <init>Lnet/minecraft/class_1391;<init>(Lnet/minecraft/class_1308;DLjava/util/function/Predicate;ZD)Vofficial <init>Lcnb;<init>(Lcey;DLjava/util/function/Predicate;ZD)V
-
-
Method Details
-
stopMoving
protected void stopMoving()- Overrides:
stopMovingin classTemptGoal- Mappings:
Namespace Name Mixin selector named stopMovingLnet/minecraft/entity/ai/goal/TemptGoal;stopMoving()Vintermediary method_70685Lnet/minecraft/class_1391;method_70685()Vofficial iLcnb;i()V
-
startMovingTo
- Overrides:
startMovingToin classTemptGoal- Mappings:
Namespace Name Mixin selector named startMovingToLnet/minecraft/entity/ai/goal/TemptGoal;startMovingTo(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_70684Lnet/minecraft/class_1391;method_70684(Lnet/minecraft/class_1657;)Vofficial aLcnb;a(Lczl;)V
-