Class ShulkerEntity.ShootBulletGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.ShulkerEntity.ShootBulletGoal
Enclosing class:
ShulkerEntity

private class ShulkerEntity.ShootBulletGoal extends Goal
Mappings:
Namespace Name
official bqz$a
intermediary net/minecraft/class_1606$class_1607
named net/minecraft/entity/mob/ShulkerEntity$ShootBulletGoal
  • Field Details

    • counter

      private int counter
      Mappings:
      Namespace Name Mixin selector
      official b Lbqz$a;b:I
      intermediary field_7347 Lnet/minecraft/class_1606$class_1607;field_7347:I
      named counter Lnet/minecraft/entity/mob/ShulkerEntity$ShootBulletGoal;counter:I
  • Constructor Details

    • ShootBulletGoal

      public ShootBulletGoal()
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbhs;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lbhs;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official d Lbhs;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • shouldRunEveryTick

      public boolean shouldRunEveryTick()
      Returns if the goal should run every tick or not.

      This returns false by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.

      Overrides:
      shouldRunEveryTick in class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E_ Lbhs;E_()Z
      intermediary method_38846 Lnet/minecraft/class_1352;method_38846()Z
      named shouldRunEveryTick Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbhs;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V