net.minecraft.entity.ai.goal

public class EscapeSunlightGoal

extends Goal

net.minecraft.world.entity.ai.goal.FleeSunGoal
net.minecraft.class_1344
net.minecraft.entity.ai.goal.EscapeSunlightGoal

Field summary

Modifier and TypeField
protected final PathAwareEntity
mob
field_6419
mob
private double
wantedX
field_6417
targetX
private double
wantedY
field_6416
targetY
private double
wantedZ
field_6415
targetZ
private final double
speedModifier
field_6420
speed
private final World
level
field_6418
world

Constructor summary

ModifierConstructor
public (PathAwareEntity mob, double speed)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
protected boolean
setWantedPos()
method_18250()
targetShadedPos()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
start()
method_6269()
start()
protected Vec3d
getHidePos()
method_6257()
locateShadedPos()