Class Fox.FoxLookControl
java.lang.Object
net.minecraft.world.entity.ai.control.LookControl
net.minecraft.world.entity.animal.Fox.FoxLookControl
- All Implemented Interfaces:
Control
- Enclosing class:
Fox
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.control.LookControl
lookAtCooldown, mob, wantedX, wantedY, wantedZ, xMaxRotAngle, yMaxRotSpeed -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.LookControl
clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isLookingAtTarget, setLookAt, setLookAt, setLookAt, setLookAt, setLookAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.ai.control.Control
rotateTowards
-
Constructor Details
-
FoxLookControl
public FoxLookControl()
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classLookControl
-
resetXRotOnTick
protected boolean resetXRotOnTick()- Overrides:
resetXRotOnTickin classLookControl
-