Class WizardLookAtTradePlayer

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
com.binaris.wizardry.content.entity.goal.WizardLookAtTradePlayer

public class WizardLookAtTradePlayer extends net.minecraft.world.entity.ai.goal.LookAtPlayerGoal
Makes the wizard look at the player it is trading with.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal

    net.minecraft.world.entity.ai.goal.Goal.Flag
  • Field Summary

    Fields inherited from class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal

    DEFAULT_PROBABILITY, lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal

    canContinueToUse, start, stop, tick

    Methods inherited from class net.minecraft.world.entity.ai.goal.Goal

    adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString

    Methods inherited from class java.lang.Object

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

    • WizardLookAtTradePlayer

      public WizardLookAtTradePlayer(Wizard wizard)
  • Method Details

    • canUse

      public boolean canUse()
      Overrides:
      canUse in class net.minecraft.world.entity.ai.goal.LookAtPlayerGoal