Package net.minecraft.entity.passive
Class FoxEntity.FoxLookControl
java.lang.Object
net.minecraft.entity.ai.control.LookControl
net.minecraft.entity.passive.FoxEntity.FoxLookControl
- Enclosing class:
- FoxEntity
public class FoxEntity.FoxLookControl extends LookControl
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.control.LookControl
active, entity, lookX, lookY, lookZ, pitchSpeed, yawSpeed
-
Constructor Summary
Constructors Constructor Description FoxLookControl()
-
Method Summary
Modifier and Type Method Description protected boolean
shouldStayHorizontal()
void
tick()
Methods inherited from class net.minecraft.entity.ai.control.LookControl
changeAngle, getLookX, getLookY, getLookZ, getTargetPitch, getTargetYaw, isActive, lookAt, lookAt, lookAt, lookAt
-
Constructor Details
-
FoxLookControl
public FoxLookControl()
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classLookControl
-
shouldStayHorizontal
protected boolean shouldStayHorizontal()- Overrides:
shouldStayHorizontal
in classLookControl
-