Class ConfigEffects
java.lang.Object
net.ixdarklord.coolcatcore.api.config.client.ConfigEffects
Client only: the registry of
config screen effects, by id. Themes name the effects they use by
these ids; one naming an id nobody registered skips it (and logs it once).
Built in: ConfigTheme.STARFALL (soft glows and falling stars, every theme's default).
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ConfigEffectget(net.minecraft.resources.ResourceLocation id) static Set<net.minecraft.resources.ResourceLocation>ids()Every registered id.static voidregister(net.minecraft.resources.ResourceLocation id, ConfigEffect effect) Registers an effect under an id, during client setup.
-
Method Details
-
register
Registers an effect under an id, during client setup.- Throws:
IllegalArgumentException- when the id is taken
-
get
-
ids
Every registered id.
-