Class WardenLookControl
java.lang.Object
net.minecraft.world.entity.ai.control.LookControl
net.frozenblock.wilderwild.entity.ai.warden.WardenLookControl
- All Implemented Interfaces:
net.minecraft.world.entity.ai.control.Control
public class WardenLookControl
extends net.minecraft.world.entity.ai.control.LookControl
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.control.LookControl
lookAtCooldown, mob, wantedX, wantedY, wantedZ, xMaxRotAngle, yMaxRotSpeed -
Constructor Summary
ConstructorsConstructorDescriptionWardenLookControl(@NotNull net.minecraft.world.entity.monster.warden.Warden warden, int maxYRotFromCenter) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.LookControl
clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isLookingAtTarget, resetXRotOnTick, 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
-
WardenLookControl
public WardenLookControl(@NotNull @NotNull net.minecraft.world.entity.monster.warden.Warden warden, int maxYRotFromCenter)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.control.LookControl
-