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
hasWanted, mob, wantedX, wantedY, wantedZ, xMaxRotAngle, yMaxRotSpeed
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.LookControl
clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isHasWanted, rotateTowards, setLookAt, setLookAt, setLookAt, setLookAt, setLookAt
-
Constructor Details
-
FoxLookControl
public FoxLookControl()
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classLookControl
-
resetXRotOnTick
protected boolean resetXRotOnTick()- Overrides:
resetXRotOnTick
in classLookControl
-