Class EventsConfig
-
- All Implemented Interfaces:
-
me.fzzyhmstrs.fzzy_config.entry.EntryAnchor
,me.fzzyhmstrs.fzzy_config.entry.EntryCreator
,me.fzzyhmstrs.fzzy_config.entry.EntryDeserializer
,me.fzzyhmstrs.fzzy_config.entry.EntryKeyed
,me.fzzyhmstrs.fzzy_config.entry.EntryParent
,me.fzzyhmstrs.fzzy_config.entry.EntrySerializer
,me.fzzyhmstrs.fzzy_config.util.Translatable
,me.fzzyhmstrs.fzzy_config.util.TranslatableEntry
,me.fzzyhmstrs.fzzy_config.util.Walkable
public final class EventsConfig extends ConfigSection
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
enableRandomEvents
private ValidatedDouble
eventFrequencyPerTick
private ValidatedChoiceList<ResourceLocation>
enabledEvents
private String
translatableEntryKey
-
Constructor Summary
Constructors Constructor Description EventsConfig()
-
Method Summary
Modifier and Type Method Description final Boolean
getEnableRandomEvents()
final Unit
setEnableRandomEvents(Boolean enableRandomEvents)
final ValidatedDouble
getEventFrequencyPerTick()
final Unit
setEventFrequencyPerTick(ValidatedDouble eventFrequencyPerTick)
final ValidatedChoiceList<ResourceLocation>
getEnabledEvents()
final Unit
setEnabledEvents(ValidatedChoiceList<ResourceLocation> enabledEvents)
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.config.ConfigSection
actions, anchorEntry, anchorId, createEntry, deserializeEntry, getTranslatableEntryKey, serializeEntry, setTranslatableEntryKey, toString
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.entry.EntryParent
continueWalk
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.util.TranslatableEntry
description, descriptionKey, getEntryKey, prefix, prefixKey, setEntryKey, translation, translationKey
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.util.Translatable
descriptionOrNull, hasDescription, hasPrefix, hasTranslation, prefixOrNull, translationOrNull
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.entry.EntryDeserializer
deserializedChanged
-
Methods inherited from class me.fzzyhmstrs.fzzy_config.entry.EntryCreator
prepare
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEnableRandomEvents
final Boolean getEnableRandomEvents()
-
setEnableRandomEvents
final Unit setEnableRandomEvents(Boolean enableRandomEvents)
-
getEventFrequencyPerTick
final ValidatedDouble getEventFrequencyPerTick()
-
setEventFrequencyPerTick
final Unit setEventFrequencyPerTick(ValidatedDouble eventFrequencyPerTick)
-
getEnabledEvents
final ValidatedChoiceList<ResourceLocation> getEnabledEvents()
-
setEnabledEvents
final Unit setEnabledEvents(ValidatedChoiceList<ResourceLocation> enabledEvents)
-
-
-
-