| Package | Description | 
|---|---|
| org.bukkit | 
 The root package of the Bukkit API, contains generalized API classes. 
 | 
| org.bukkit.command | 
 Classes relating to handling specialized non-chat player input. 
 | 
| org.bukkit.entity | 
 Interfaces for non-voxel objects that can exist in a  
world, including all players, monsters, projectiles, etc. | 
| org.bukkit.plugin | 
 Classes specifically relating to loading software modules at runtime. 
 | 
| org.bukkit.plugin.java | 
 Classes for handling  
plugins written in
 java. | 
| Modifier and Type | Method and Description | 
|---|---|
static @NotNull Server | 
Bukkit.getServer()
Gets the current  
Server singleton | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
Bukkit.setServer(@NotNull Server server)
Attempts to set the  
Server singleton. | 
| Modifier and Type | Method and Description | 
|---|---|
default @NotNull Server | 
MessageCommandSender.getServer()  | 
@NotNull Server | 
CommandSender.getServer()
Returns the server instance that this command is running on 
 | 
| Constructor and Description | 
|---|
SimpleCommandMap(@NotNull Server server)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Server | 
Entity.getServer()
Gets the  
Server that contains this Entity | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Server | 
Plugin.getServer()
Returns the Server instance currently running this plugin 
 | 
| Constructor and Description | 
|---|
SimplePluginManager(@NotNull Server instance,
                   @NotNull SimpleCommandMap commandMap)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Server | 
JavaPlugin.getServer()
Returns the Server instance currently running this plugin 
 | 
| Constructor and Description | 
|---|
JavaPluginLoader(@NotNull Server instance)
Deprecated.  
 | 
Copyright © 2022. All rights reserved.