Class HourRangeTriggerCondition
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.ObjectiveLocationTriggerCondition
com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition.HourRangeTriggerCondition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<HourRangeTriggerCondition> protected intprotected intprotected static final ResourceType<EntityStore, WorldTimeResource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) toString()
-
Field Details
-
CODEC
-
WORLD_TIME_RESOURCE_RESOURCE_TYPE
protected static final ResourceType<EntityStore,WorldTimeResource> WORLD_TIME_RESOURCE_RESOURCE_TYPE -
minHour
protected int minHour -
maxHour
protected int maxHour
-
-
Constructor Details
-
HourRangeTriggerCondition
public HourRangeTriggerCondition()
-
-
Method Details
-
isConditionMet
public boolean isConditionMet(@Nonnull ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) - Specified by:
isConditionMetin classObjectiveLocationTriggerCondition
-
toString
- Overrides:
toStringin classObjectiveLocationTriggerCondition
-