Package com.sk89q.worldedit.bukkit
Class BukkitServerInterface
java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractPlatform
com.sk89q.worldedit.bukkit.BukkitServerInterface
- All Implemented Interfaces:
com.sk89q.worldedit.extension.platform.MultiUserPlatform
,com.sk89q.worldedit.extension.platform.Platform
public class BukkitServerInterface
extends com.sk89q.worldedit.extension.platform.AbstractPlatform
implements com.sk89q.worldedit.extension.platform.MultiUserPlatform
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap<com.sk89q.worldedit.extension.platform.Capability,
com.sk89q.worldedit.extension.platform.Preference> com.sk89q.worldedit.LocalConfiguration
Collection<com.sk89q.worldedit.extension.platform.Actor>
com.sk89q.worldedit.world.DataFixer
int
com.sk89q.worldedit.world.registry.Registries
Set<com.sk89q.worldedit.util.SideEffect>
com.sk89q.worldedit.extension.platform.Watchdog
List<com.sk89q.worldedit.world.World>
boolean
isValidMobType
(String type) com.sk89q.worldedit.entity.Player
matchPlayer
(com.sk89q.worldedit.entity.Player player) matchWorld
(com.sk89q.worldedit.world.World world) void
registerCommands
(org.enginehub.piston.CommandManager dispatcher) void
reload()
int
void
setGameHooksEnabled
(boolean enabled) void
Methods inherited from class com.sk89q.worldedit.extension.platform.AbstractPlatform
getResourceLoader, getTranslationManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extension.platform.Platform
getResourceLoader, getTranslationManager, registerGameHooks
-
Field Details
-
server
public final org.bukkit.Server server -
plugin
-
-
Constructor Details
-
BukkitServerInterface
-
-
Method Details
-
getRegistries
public com.sk89q.worldedit.world.registry.Registries getRegistries()- Specified by:
getRegistries
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getDataVersion
public int getDataVersion()- Specified by:
getDataVersion
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getDataFixer
public com.sk89q.worldedit.world.DataFixer getDataFixer()- Specified by:
getDataFixer
in interfacecom.sk89q.worldedit.extension.platform.Platform
- Overrides:
getDataFixer
in classcom.sk89q.worldedit.extension.platform.AbstractPlatform
-
isValidMobType
- Specified by:
isValidMobType
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
reload
public void reload()- Specified by:
reload
in interfacecom.sk89q.worldedit.extension.platform.Platform
- Overrides:
reload
in classcom.sk89q.worldedit.extension.platform.AbstractPlatform
-
schedule
- Specified by:
schedule
in interfacecom.sk89q.worldedit.extension.platform.Platform
- Overrides:
schedule
in classcom.sk89q.worldedit.extension.platform.AbstractPlatform
-
getWatchdog
public com.sk89q.worldedit.extension.platform.Watchdog getWatchdog()- Specified by:
getWatchdog
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getWorlds
- Specified by:
getWorlds
in interfacecom.sk89q.worldedit.extension.platform.Platform
- Overrides:
getWorlds
in classcom.sk89q.worldedit.extension.platform.AbstractPlatform
-
matchPlayer
@Nullable public com.sk89q.worldedit.entity.Player matchPlayer(com.sk89q.worldedit.entity.Player player) - Specified by:
matchPlayer
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
matchWorld
- Specified by:
matchWorld
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
registerCommands
public void registerCommands(org.enginehub.piston.CommandManager dispatcher) - Specified by:
registerCommands
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
setGameHooksEnabled
public void setGameHooksEnabled(boolean enabled) - Specified by:
setGameHooksEnabled
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getConfiguration
public com.sk89q.worldedit.LocalConfiguration getConfiguration()- Specified by:
getConfiguration
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getVersion
- Specified by:
getVersion
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getPlatformName
- Specified by:
getPlatformName
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getPlatformVersion
- Specified by:
getPlatformVersion
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getCapabilities
public Map<com.sk89q.worldedit.extension.platform.Capability,com.sk89q.worldedit.extension.platform.Preference> getCapabilities()- Specified by:
getCapabilities
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
getSupportedSideEffects
- Specified by:
getSupportedSideEffects
in interfacecom.sk89q.worldedit.extension.platform.Platform
-
unregisterCommands
public void unregisterCommands() -
getConnectedUsers
- Specified by:
getConnectedUsers
in interfacecom.sk89q.worldedit.extension.platform.MultiUserPlatform
-