Class OstrichPanic

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<net.minecraft.world.entity.PathfinderMob>
net.minecraft.world.entity.ai.behavior.AnimalPanic
net.frozenblock.wilderwild.entity.ai.ostrich.OstrichPanic
All Implemented Interfaces:
net.minecraft.world.entity.ai.behavior.BehaviorControl<net.minecraft.world.entity.PathfinderMob>

public class OstrichPanic extends net.minecraft.world.entity.ai.behavior.AnimalPanic
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior

    net.minecraft.world.entity.ai.behavior.Behavior.Status
  • Field Summary

    Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior

    DEFAULT_DURATION, entryCondition
  • Constructor Summary

    Constructors
    Constructor
    Description
    OstrichPanic(float f, Predicate<net.minecraft.world.entity.PathfinderMob> shouldPanic)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull net.minecraft.world.entity.PathfinderMob entity, long gameTime)
     

    Methods inherited from class net.minecraft.world.entity.ai.behavior.AnimalPanic

    canStillUse, checkExtraStartConditions, stop, tick

    Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior

    debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OstrichPanic

      public OstrichPanic(float f, Predicate<net.minecraft.world.entity.PathfinderMob> shouldPanic)
  • Method Details

    • start

      public void start(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull net.minecraft.world.entity.PathfinderMob entity, long gameTime)
      Overrides:
      start in class net.minecraft.world.entity.ai.behavior.AnimalPanic