Class RingBell
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.RingBell
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static float
static int
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions(ServerLevel p_23789_, LivingEntity p_23790_)
protected void
start(ServerLevel p_23792_, LivingEntity p_23793_, long p_23794_)
Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
BELL_RING_CHANCE
private static final float BELL_RING_CHANCE- See Also:
- Constant Field Values
-
RING_BELL_FROM_DISTANCE
public static final int RING_BELL_FROM_DISTANCE- See Also:
- Constant Field Values
-
-
Constructor Details
-
RingBell
public RingBell()
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<LivingEntity>
-
start
- Overrides:
start
in classBehavior<LivingEntity>
-