public class HourRangeTriggerCondition extends ObjectiveLocationTriggerCondition
Class HourRangeTriggerCondition. Provides hourrangetriggercondition functionality for the Hytale server.
java.lang.Object > ObjectiveLocationTriggerCondition > HourRangeTriggerCondition
Field Summary
minHour
protected
int
minHour
Field minHour.
maxHour
protected
int
maxHour
Field maxHour.
currentHour
final
int
currentHour
Field currentHour.
Method Detail
isConditionMet
public
boolean
isConditionMet
(@Nonnull final ComponentAccessor componentAccessor, final Ref ref, final ObjectiveLocationMarker objectiveLocationMarker)
Method isConditionMet.
- Parameters:
@Nonnull final ComponentAccessorcomponentAccessorfinal Refreffinal ObjectiveLocationMarkerobjectiveLocationMarker
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("MaxHour", Codec.INTEGER)
Method KeyedCodec.
- Parameters:
"MaxHour""MaxHour"Codec.INTEGERCodec.INTEGER