Class CelebrateVillagersSurvivedRaid
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.CelebrateVillagersSurvivedRaid
- All Implemented Interfaces:
BehaviorControl<Villager>
-
Nested Class Summary
Nested classes/interfaces inherited from class Behavior
Behavior.Status -
Field Summary
FieldsFields inherited from class Behavior
DEFAULT_DURATION, entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanStillUse(ServerLevel level, Villager body, long timestamp) protected booleancheckExtraStartConditions(ServerLevel level, Villager body) private ItemStackgetFirework(DyeColor color, int flightDuration) protected voidstop(ServerLevel level, Villager body, long timestamp) protected voidtick(ServerLevel level, Villager body, long timestamp) Methods inherited from class Behavior
debugString, doStop, getRequiredMemories, getStatus, hasRequiredMemories, start, tickOrStop, timedOut, tryStart
-
Field Details
-
currentRaid
-
-
Constructor Details
-
CelebrateVillagersSurvivedRaid
public CelebrateVillagersSurvivedRaid(int minDuration, int maxDuration)
-
-
Method Details