Class RandomStroll

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<PathfinderMob>
net.minecraft.world.entity.ai.behavior.RandomStroll
Direct Known Subclasses:
RandomSwim

public class RandomStroll extends Behavior<PathfinderMob>
  • Field Details

    • MAX_XZ_DIST

      private static final int MAX_XZ_DIST
      See Also:
      Constant Field Values
    • MAX_Y_DIST

      private static final int MAX_Y_DIST
      See Also:
      Constant Field Values
    • speedModifier

      private final float speedModifier
    • maxHorizontalDistance

      protected final int maxHorizontalDistance
    • maxVerticalDistance

      protected final int maxVerticalDistance
    • mayStrollFromWater

      private final boolean mayStrollFromWater
  • Constructor Details

    • RandomStroll

      public RandomStroll(float p_23744_)
    • RandomStroll

      public RandomStroll(float p_182347_, boolean p_182348_)
    • RandomStroll

      public RandomStroll(float p_23746_, int p_23747_, int p_23748_)
    • RandomStroll

      public RandomStroll(float p_182342_, int p_182343_, int p_182344_, boolean p_182345_)
  • Method Details