Class RangedCrossbowAttackGoal<T extends MonsterEntity & IRangedAttackMob & ICrossbowUser>

    • Constructor Detail

      • RangedCrossbowAttackGoal

        public RangedCrossbowAttackGoal​(T p_i50322_1_,
                                        double p_i50322_2_,
                                        float p_i50322_4_)
    • Method Detail

      • canUse

        public boolean canUse()
        Specified by:
        canUse in class Goal
      • isHoldingCrossbow

        private boolean isHoldingCrossbow()
      • isValidTarget

        private boolean isValidTarget()
      • stop

        public void stop()
        Overrides:
        stop in class Goal
      • tick

        public void tick()
        Overrides:
        tick in class Goal
      • canRun

        private boolean canRun()