Constructor and Description |
---|
AbstractPlatform() |
Modifier and Type | Method and Description |
---|---|
DataFixer |
getDataFixer()
Get a DataFixer capable of upgrading old data.
|
java.util.List<? extends World> |
getWorlds()
Get a list of available or loaded worlds.
|
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, getVersion, isValidMobType, matchPlayer, matchWorld, registerCommands, registerGameHooks, reload
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