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

    Constructors
    Constructor
    Description
    WardenLookControl(@NotNull net.minecraft.world.entity.monster.warden.Warden warden, int maxYRotFromCenter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class net.minecraft.world.entity.ai.control.LookControl

    clampHeadRotationToBody, getWantedX, getWantedY, getWantedZ, getXRotD, getYRotD, isLookingAtTarget, resetXRotOnTick, rotateTowards, setLookAt, setLookAt, setLookAt, setLookAt, setLookAt

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WardenLookControl

      public WardenLookControl(@NotNull @NotNull net.minecraft.world.entity.monster.warden.Warden warden, int maxYRotFromCenter)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.ai.control.LookControl