Class OstrichLayEgg

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

public class OstrichLayEgg extends net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>
  • 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
    OstrichLayEgg(net.minecraft.world.level.block.Block eggBlock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canStillUse(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull Ostrich entity, long gameTime)
     
    boolean
    checkExtraStartConditions(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull Ostrich owner)
     
    void
    start(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull Ostrich entity, long gameTime)
     
    void
    stop(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull Ostrich entity, long gameTime)
     
    void
    tick(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull Ostrich owner, long gameTime)
     

    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

    • OstrichLayEgg

      public OstrichLayEgg(net.minecraft.world.level.block.Block eggBlock)
  • Method Details

    • checkExtraStartConditions

      public boolean checkExtraStartConditions(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull Ostrich owner)
      Overrides:
      checkExtraStartConditions in class net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>
    • canStillUse

      public boolean canStillUse(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull Ostrich entity, long gameTime)
      Overrides:
      canStillUse in class net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>
    • start

      public void start(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull Ostrich entity, long gameTime)
      Overrides:
      start in class net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>
    • stop

      public void stop(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull Ostrich entity, long gameTime)
      Overrides:
      stop in class net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>
    • tick

      public void tick(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull Ostrich owner, long gameTime)
      Overrides:
      tick in class net.minecraft.world.entity.ai.behavior.Behavior<Ostrich>