Class WeatherTriggerCondition
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.ObjectiveLocationTriggerCondition
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.WeatherTriggerCondition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<WeatherTriggerCondition> protected static final ComponentType<EntityStore, TransformComponent> protected static final ResourceType<EntityStore, WeatherResource> protected String[]protected int[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) toString()
-
Field Details
-
CODEC
-
WEATHER_RESOURCE_RESOURCE_TYPE
@Nonnull protected static final ResourceType<EntityStore,WeatherResource> WEATHER_RESOURCE_RESOURCE_TYPE -
TRANSFORM_COMPONENT_TYPE
@Nonnull protected static final ComponentType<EntityStore,TransformComponent> TRANSFORM_COMPONENT_TYPE -
weatherIds
-
weatherIndexes
protected int[] weatherIndexes
-
-
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
-