Package xyz.srnyx.annoyingapi.options
Class StatsOptions.FastStatsOptions
java.lang.Object
xyz.srnyx.annoyingapi.options.StatsOptions.FastStatsOptions
- Enclosing class:
StatsOptions
-
Field Summary
FieldsModifier and TypeFieldDescription@Nullable StringEven more of a convenience thanloadersuch that you provide just the ID, rather than an entire loader.@Nullable Class<? extends FastStatsLoader> Convenience so that a separateFastStatsProviderclass doesn't need to be made (the API will create an anonymous one for you). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
loader
Convenience so that a separateFastStatsProviderclass doesn't need to be made (the API will create an anonymous one for you).
This is overriden if aFastStatsProviderclass IS found duringautomatic registration. -
id
Even more of a convenience thanloadersuch that you provide just the ID, rather than an entire loader.
However, this means you must define custom metrics outside of a loader, which is not recommended.
So, it's recommended to only use this if you don't want to define anything custom!
This is overriden byloaderif both are provided.
-
-
Constructor Details
-
FastStatsOptions
public FastStatsOptions()
-
-
Method Details
-
loader
@NotNull public StatsOptions.FastStatsOptions loader(@Nullable @Nullable Class<? extends FastStatsLoader> loader) -
id
-