Constructor and Description |
---|
AbstractPlatform() |
Modifier and Type | Method and Description |
---|---|
DataFixer |
getDataFixer()
Get a DataFixer capable of upgrading old data.
|
ResourceLoader |
getResourceLoader()
Return the resource loader.
|
TranslationManager |
getTranslationManager() |
java.util.List<? extends World> |
getWorlds()
Get a list of available or loaded worlds.
|
void |
reload()
Reload WorldEdit configuration.
|
int |
schedule(long delay,
long period,
java.lang.Runnable task)
Schedules the given
task to be invoked once every
period ticks after an initial delay of delay ticks. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapabilities, getConfiguration, getDataVersion, getPlatformName, getPlatformVersion, getRegistries, getSupportedSideEffects, getVersion, getWatchdog, isValidMobType, matchPlayer, matchWorld, registerCommands, registerGameHooks
public ResourceLoader getResourceLoader()
Platform
getResourceLoader
in interface Platform
public TranslationManager getTranslationManager()
getTranslationManager
in interface Platform
public int schedule(long delay, long period, java.lang.Runnable task)
Platform
task
to be invoked once every
period
ticks after an initial delay of delay
ticks.public java.util.List<? extends World> getWorlds()
Platform
public DataFixer getDataFixer()
Platform
getDataFixer
in interface Platform