Uses of Class
cn.nukkit.Server
Packages that use Server
Package
Description
与方块实体(例如TNT方块爆炸时的实体)相关的类
与命令及其实现相关的类
与实体相关的类,包含友好生物,敌对生物等.
与世界相关的类.
与bStats插件相关的类.
与基岩版网络协议相关的类.
与插件(一种在运行时加载的软件,可以修改游戏玩法)相关的类.
一些关于异步任务和调度器的类,可用于插件实现异步操作.
各种工具类.
-
Uses of Server in cn.nukkit
Modifier and TypeMethodDescriptionstatic Server
Server.getInstance()
IPlayer.getServer()
返回玩家所在的服务器。
Returns the server carrying this player.OfflinePlayer.getServer()
Player.getServer()
ModifierConstructorDescriptionOfflinePlayer
(Server server, String name) OfflinePlayer
(Server server, UUID uuid) 初始化这个OfflinePlayer
对象。
Initializes the objectOfflinePlayer
.OfflinePlayer
(Server server, UUID uuid, String name) -
Uses of Server in cn.nukkit.blockentity
Fields in cn.nukkit.blockentity declared as ServerMethods in cn.nukkit.blockentity that return Server -
Uses of Server in cn.nukkit.command
Methods in cn.nukkit.command that return ServerModifier and TypeMethodDescriptionCapturingCommandSender.getServer()
CommandSender.getServer()
返回命令发送者所在的服务器。
Returns the server of the command sender.ConsoleCommandSender.getServer()
ExecutorCommandSender.getServer()
NPCCommandSender.getServer()
Constructors in cn.nukkit.command with parameters of type Server -
Uses of Server in cn.nukkit.console
Constructors in cn.nukkit.console with parameters of type Server -
Uses of Server in cn.nukkit.entity
Fields in cn.nukkit.entity declared as ServerMethods in cn.nukkit.entity that return Server -
Uses of Server in cn.nukkit.event.player
Methods in cn.nukkit.event.player that return types with arguments of type ServerMethod parameters in cn.nukkit.event.player with type arguments of type ServerModifier and TypeMethodDescriptionvoid
PlayerAsyncPreLoginEvent.scheduleSyncAction
(Consumer<Server> action) -
Uses of Server in cn.nukkit.event.server
Constructors in cn.nukkit.event.server with parameters of type ServerModifierConstructorDescriptionQueryRegenerateEvent
(Server server) QueryRegenerateEvent
(Server server, int timeout) -
Uses of Server in cn.nukkit.level
Methods in cn.nukkit.level that return ServerConstructors in cn.nukkit.level with parameters of type Server -
Uses of Server in cn.nukkit.level.format
Methods in cn.nukkit.level.format with parameters of type ServerModifier and TypeMethodDescriptionstatic void
LevelProviderManager.addProvider
(Server server, Class<? extends LevelProvider> clazz) -
Uses of Server in cn.nukkit.level.format.generic
Methods in cn.nukkit.level.format.generic that return Server -
Uses of Server in cn.nukkit.level.generator.task
Methods in cn.nukkit.level.generator.task with parameters of type ServerModifier and TypeMethodDescriptionvoid
GenerationTask.onCompletion
(Server server) void
LightPopulationTask.onCompletion
(Server server) void
PopulationTask.onCompletion
(Server server) -
Uses of Server in cn.nukkit.metrics
Methods in cn.nukkit.metrics with parameters of type ServerModifier and TypeMethodDescriptionstatic void
static boolean
Setup the nukkit metrics and starts it if it hadn't started yet.Constructors in cn.nukkit.metrics with parameters of type Server -
Uses of Server in cn.nukkit.network
Methods in cn.nukkit.network that return ServerMethods in cn.nukkit.network with parameters of type ServerModifier and TypeMethodDescriptionvoid
CompressBatchedPacket.onCompletion
(Server server) void
CompressBatchedTask.onCompletion
(Server server) Constructors in cn.nukkit.network with parameters of type Server -
Uses of Server in cn.nukkit.network.rcon
Constructors in cn.nukkit.network.rcon with parameters of type Server -
Uses of Server in cn.nukkit.plugin
Fields in cn.nukkit.plugin declared as ServerModifier and TypeFieldDescriptionprotected Server
CommonJSPlugin.server
final Server
JSPluginLoader.server
Methods in cn.nukkit.plugin that return ServerModifier and TypeMethodDescriptionCommonJSPlugin.getServer()
Plugin.getServer()
PluginBase.getServer()
Methods in cn.nukkit.plugin with parameters of type ServerModifier and TypeMethodDescriptionfinal void
PluginBase.init
(PluginLoader loader, Server server, PluginDescription description, File dataFolder, File file) 初始化这个插件。
Initialize the plugin.Constructors in cn.nukkit.plugin with parameters of type ServerModifierConstructorDescriptionJavaPluginLoader
(Server server) JSPluginLoader
(Server server) PluginManager
(Server server, SimpleCommandMap commandMap) -
Uses of Server in cn.nukkit.scheduler
Methods in cn.nukkit.scheduler that return ServerMethods in cn.nukkit.scheduler with parameters of type ServerConstructors in cn.nukkit.scheduler with parameters of type Server -
Uses of Server in cn.nukkit.utils
Constructors in cn.nukkit.utils with parameters of type Server
NukkitMetrics.startNow(Server)