Contents
Class WildernessPlugin
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.builtin.adventure.wilderness.WildernessPlugin
- All Implemented Interfaces:
CommandOwner
-
Field Summary
Fields inherited from class PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WildernessPluginget()Retrieves the singleton instance of theWildernessPlugin.Retrieves the resource type for the ChunkStoreWildernessVisitor.Retrieves the resource type for the EntityStoreWildernessVisitor.Retrieves theComponentTypeassociated with theWilderness.Retrieves theComponentTypeassociated with theWildernessDebugdebug marker.Retrieves the resource type for theWildernessTracker.static CompletableFuture<WildernessTracker> reloadTracker(World world) Reloads theWildernessTrackerfor the specifiedWorld.Methods inherited from class JavaPlugin
getClassLoader, getFile, getTypeMethods inherited from class PluginBase
getAssetRegistry, getBasePermission, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad
-
Constructor Details
-
WildernessPlugin
-
-
Method Details
-
getWildernessComponentType
Retrieves theComponentTypeassociated with theWilderness.- Returns:
- the
ComponentTypeforEntityStoreandWilderness.
-
getWildernessDebugComponentType
Retrieves theComponentTypeassociated with theWildernessDebugdebug marker.- Returns:
- the
ComponentTypeforEntityStoreandWildernessDebug.
-
getWildernessTrackerResourceType
Retrieves the resource type for theWildernessTracker.- Returns:
- the
WildernessTrackerresource type.
-
getChunkResourceType
Retrieves the resource type for the ChunkStoreWildernessVisitor.- Returns:
- the ChunkStore
WildernessVisitorresource type.
-
getEntityResourceType
Retrieves the resource type for the EntityStoreWildernessVisitor.- Returns:
- the EntityStore
WildernessVisitorresource type.
-
reloadTracker
Reloads theWildernessTrackerfor the specifiedWorld.- Parameters:
world- theWorldinstance for which theWildernessTrackershould be reloaded. Must not be null.- Returns:
- a
CompletableFuturethat completes with the reloadedWildernessTrackerfor the provided world. Never null.
-
get
Retrieves the singleton instance of theWildernessPlugin.- Returns:
- the singleton instance of
WildernessPlugin. Never null once the plugin has been initialized.
-