java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<
Ostrich>
net.minecraft.world.entity.ai.behavior.AnimalPanic<
Ostrich>
net.frozenblock.wilderwild.entity.ai.ostrich.OstrichPanic
- All Implemented Interfaces:
net.minecraft.world.entity.ai.behavior.BehaviorControl<Ostrich>
public class OstrichPanic
extends net.minecraft.world.entity.ai.behavior.AnimalPanic<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
OstrichPanic(float f,
Function<net.minecraft.world.entity.PathfinderMob,net.minecraft.tags.TagKey<net.minecraft.world.damagesource.DamageType>> shouldPanic)
-
Method Summary
void
start(@NotNull net.minecraft.server.level.ServerLevel level,
@NotNull Ostrich ostrich,
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,
Function<net.minecraft.world.entity.PathfinderMob,net.minecraft.tags.TagKey<net.minecraft.world.damagesource.DamageType>> shouldPanic)
-
Method Details
-
start
public void start(@NotNull
@NotNull net.minecraft.server.level.ServerLevel level,
@NotNull
@NotNull Ostrich ostrich,
long gameTime)
- Overrides:
start in class net.minecraft.world.entity.ai.behavior.AnimalPanic<Ostrich>