Class SlimeEntity.RandomLookGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SlimeEntity.RandomLookGoal
Enclosing class:
SlimeEntity

static class SlimeEntity.RandomLookGoal
extends Goal
  • Field Details

    • slime

      private final SlimeEntity slime
    • targetYaw

      private float targetYaw
    • timer

      private int timer
  • Constructor Details

    • RandomLookGoal

      public RandomLookGoal​(SlimeEntity slime)
  • Method Details

    • canStart

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

      public void tick()
      Overrides:
      tick in class Goal