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, com.sk89q.worldedit.registry.Keyed

public class BukkitServerInterface extends com.sk89q.worldedit.extension.platform.AbstractPlatform implements com.sk89q.worldedit.extension.platform.MultiUserPlatform
  • Field Details

  • Constructor Details

  • Method Details

    • getRegistries

      public com.sk89q.worldedit.world.registry.Registries getRegistries()
      Specified by:
      getRegistries in interface com.sk89q.worldedit.extension.platform.Platform
    • getDataVersion

      public int getDataVersion()
      Specified by:
      getDataVersion in interface com.sk89q.worldedit.extension.platform.Platform
    • getDataFixer

      public com.sk89q.worldedit.world.DataFixer getDataFixer()
      Specified by:
      getDataFixer in interface com.sk89q.worldedit.extension.platform.Platform
      Overrides:
      getDataFixer in class com.sk89q.worldedit.extension.platform.AbstractPlatform
    • isValidMobType

      public boolean isValidMobType(String type)
      Specified by:
      isValidMobType in interface com.sk89q.worldedit.extension.platform.Platform
    • reload

      public void reload()
      Specified by:
      reload in interface com.sk89q.worldedit.extension.platform.Platform
    • schedule

      public int schedule(long delay, long period, Runnable task)
      Specified by:
      schedule in interface com.sk89q.worldedit.extension.platform.Platform
      Overrides:
      schedule in class com.sk89q.worldedit.extension.platform.AbstractPlatform
    • getWatchdog

      public com.sk89q.worldedit.extension.platform.Watchdog getWatchdog()
      Specified by:
      getWatchdog in interface com.sk89q.worldedit.extension.platform.Platform
    • getWorlds

      public List<com.sk89q.worldedit.world.World> getWorlds()
      Specified by:
      getWorlds in interface com.sk89q.worldedit.extension.platform.Platform
      Overrides:
      getWorlds in class com.sk89q.worldedit.extension.platform.AbstractPlatform
    • matchPlayer

      @Nullable public com.sk89q.worldedit.entity.Player matchPlayer(com.sk89q.worldedit.entity.Player player)
      Specified by:
      matchPlayer in interface com.sk89q.worldedit.extension.platform.Platform
    • matchWorld

      @Nullable public BukkitWorld matchWorld(com.sk89q.worldedit.world.World world)
      Specified by:
      matchWorld in interface com.sk89q.worldedit.extension.platform.Platform
    • registerCommands

      public void registerCommands(CommandManager dispatcher)
      Specified by:
      registerCommands in interface com.sk89q.worldedit.extension.platform.Platform
    • setGameHooksEnabled

      public void setGameHooksEnabled(boolean enabled)
      Specified by:
      setGameHooksEnabled in interface com.sk89q.worldedit.extension.platform.Platform
    • getConfiguration

      public com.sk89q.worldedit.LocalConfiguration getConfiguration()
      Specified by:
      getConfiguration in interface com.sk89q.worldedit.extension.platform.Platform
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface com.sk89q.worldedit.extension.platform.Platform
    • getPlatformName

      public String getPlatformName()
      Specified by:
      getPlatformName in interface com.sk89q.worldedit.extension.platform.Platform
    • getPlatformVersion

      public String getPlatformVersion()
      Specified by:
      getPlatformVersion in interface com.sk89q.worldedit.extension.platform.Platform
    • getId

      public String getId()
      Specified by:
      getId in interface com.sk89q.worldedit.registry.Keyed
      Specified by:
      getId in interface com.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 interface com.sk89q.worldedit.extension.platform.Platform
    • getSupportedSideEffects

      public Set<com.sk89q.worldedit.util.SideEffect> getSupportedSideEffects()
      Specified by:
      getSupportedSideEffects in interface com.sk89q.worldedit.extension.platform.Platform
    • unregisterCommands

      public void unregisterCommands()
    • getConnectedUsers

      public Collection<com.sk89q.worldedit.extension.platform.Actor> getConnectedUsers()
      Specified by:
      getConnectedUsers in interface com.sk89q.worldedit.extension.platform.MultiUserPlatform
    • getRelighterFactory

      @Nonnull public com.fastasyncworldedit.core.extent.processor.lighting.RelighterFactory getRelighterFactory()
      Specified by:
      getRelighterFactory in interface com.sk89q.worldedit.extension.platform.Platform
    • versionMinY

      public int versionMinY()
      Specified by:
      versionMinY in interface com.sk89q.worldedit.extension.platform.Platform
    • versionMaxY

      public int versionMaxY()
      Specified by:
      versionMaxY in interface com.sk89q.worldedit.extension.platform.Platform
    • getPlatformPostProcessor

      public com.fastasyncworldedit.core.queue.IBatchProcessor getPlatformPostProcessor(boolean fastMode)
      Specified by:
      getPlatformPostProcessor in interface com.sk89q.worldedit.extension.platform.Platform