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
FieldsModifier and TypeFieldDescriptionprivate static final floatstatic final intFields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckExtraStartConditions(ServerLevel p_23789_, LivingEntity p_23790_) protected voidstart(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:
-
RING_BELL_FROM_DISTANCE
public static final int RING_BELL_FROM_DISTANCE- See Also:
-
-
Constructor Details
-
RingBell
public RingBell()
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditionsin classBehavior<LivingEntity>
-
start
- Overrides:
startin classBehavior<LivingEntity>
-