Class EntityStatsModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.entitystats.EntityStatsModule
- All Implemented Interfaces:
CommandOwner
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ComponentType<EntityStore, EntityStatMap> private static EntityStatsModulestatic final PluginManifestFields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityStatsModuleget()static EntityStatMapDeprecated, for removal: This API element is subject to removal in a future version.private voidonLoadedAssetsEvent(LoadedAssetsEvent<String, EntityStatType, IndexedLookupTableAssetMap<String, EntityStatType>> event) onLoadedAssetsInvalidate(LoadedAssetsEvent<K, T, M> event) static it.unimi.dsi.fastutil.ints.Int2FloatMapresolveEntityStats(it.unimi.dsi.fastutil.objects.Object2FloatMap<String> raw) static int[]resolveEntityStats(String[] raw) static <T> it.unimi.dsi.fastutil.ints.Int2ObjectMap<T> resolveEntityStats(Map<String, T> raw) protected voidsetup()protected voidstart()Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, withConfig, withConfig
-
Field Details
-
MANIFEST
-
instance
-
entityStatMapComponentType
-
statModifyingSystemType
-
-
Constructor Details
-
EntityStatsModule
-
-
Method Details
-
get
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
start
protected void start()- Overrides:
startin classPluginBase
-
get
Deprecated, for removal: This API element is subject to removal in a future version. -
onLoadedAssetsEvent
private void onLoadedAssetsEvent(LoadedAssetsEvent<String, EntityStatType, IndexedLookupTableAssetMap<String, EntityStatType>> event) -
onLoadedAssetsInvalidate
private static <K,T extends JsonAsset<K>, void onLoadedAssetsInvalidateM extends AssetMap<K, T>> (LoadedAssetsEvent<K, T, M> event) -
resolveEntityStats
@Nullable public static it.unimi.dsi.fastutil.ints.Int2FloatMap resolveEntityStats(@Nullable it.unimi.dsi.fastutil.objects.Object2FloatMap<String> raw) -
resolveEntityStats
-
resolveEntityStats
-
getEntityStatMapComponentType
-
getStatModifyingSystemType
-