Class AbstractCubeMob.CubeMobRandomDirectionGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.cubemob.AbstractCubeMob.CubeMobRandomDirectionGoal
Enclosing class:
AbstractCubeMob

private static class AbstractCubeMob.CubeMobRandomDirectionGoal extends Goal
  • Field Details

    • cubeMob

      private final AbstractCubeMob cubeMob
    • chosenDegrees

      private float chosenDegrees
    • nextRandomizeTime

      private int nextRandomizeTime
  • Constructor Details

    • CubeMobRandomDirectionGoal

      public CubeMobRandomDirectionGoal(AbstractCubeMob cubeMob)
  • Method Details

    • canUse

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

      public void tick()
      Overrides:
      tick in class Goal