Contents
Class WeatherTriggerCondition
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.ObjectiveLocationTriggerCondition
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.WeatherTriggerCondition
A trigger condition that checks if the current weather matches any of the specified weather IDs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<WeatherTriggerCondition> The codec used to parse and serializeWeatherTriggerConditioninstances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) toString()
-
Field Details
-
CODEC
The codec used to parse and serializeWeatherTriggerConditioninstances.
-
-
Constructor Details
-
WeatherTriggerCondition
public WeatherTriggerCondition()
-
-
Method Details
-
isConditionMet
public boolean isConditionMet(@Nonnull ComponentAccessor<EntityStore> componentAccessor, @Nonnull Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) - Specified by:
isConditionMetin classObjectiveLocationTriggerCondition
-
toString
- Overrides:
toStringin classObjectiveLocationTriggerCondition
-