| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.command | Classes relating to handling specialized non-chat player input. | 
| org.bukkit.command.defaults | Commands for emulating the Minecraft commands and other necessary ones for
 use by a Bukkit implementation. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.entity.minecart | Interfaces for various  Minecarttypes. | 
| org.bukkit.event.server | Eventsrelating to programmatic state
 changes on the server. | 
| org.bukkit.help | Classes used to manipulate the default command and topic assistance system. | 
| org.bukkit.plugin.java | Classes for handling  pluginswritten in
 java. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | Server. dispatchCommand(CommandSender sender,
               String commandLine)Dispatches a command on this server, and executes it if found. | 
| static boolean | Bukkit. dispatchCommand(CommandSender sender,
               String commandLine)Dispatches a command on this server, and executes it if found. | 
| WorldCreator | WorldCreator. generator(String generator,
         CommandSender output)Sets the generator that will be used to create or load the world. | 
| static ChunkGenerator | WorldCreator. getGeneratorForName(String world,
                   String name,
                   CommandSender output)Attempts to get the  ChunkGeneratorwith the given name. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BlockCommandSender | 
| interface  | ConsoleCommandSender | 
| interface  | ProxiedCommandSender | 
| interface  | RemoteConsoleCommandSender | 
| Modifier and Type | Method and Description | 
|---|---|
| CommandSender | ProxiedCommandSender. getCallee()Returns the CommandSender which is being used to call the command | 
| CommandSender | ProxiedCommandSender. getCaller()Returns the CommandSender which triggered this proxied command | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | Command. broadcastCommandMessage(CommandSender source,
                       String message) | 
| static void | Command. broadcastCommandMessage(CommandSender source,
                       String message,
                       boolean sendToSource) | 
| boolean | CommandMap. dispatch(CommandSender sender,
        String cmdLine)Looks for the requested command and executes it if found. | 
| boolean | SimpleCommandMap. dispatch(CommandSender sender,
        String commandLine)Looks for the requested command and executes it if found. | 
| boolean | MultipleCommandAlias. execute(CommandSender sender,
       String commandLabel,
       String[] args) | 
| abstract boolean | Command. execute(CommandSender sender,
       String commandLabel,
       String[] args)Executes the command, returning its success | 
| boolean | FormattedCommandAlias. execute(CommandSender sender,
       String commandLabel,
       String[] args) | 
| boolean | PluginCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Executes the command, returning its success | 
| boolean | CommandExecutor. onCommand(CommandSender sender,
         Command command,
         String label,
         String[] args)Executes the given command, returning its success | 
| List<String> | TabCompleter. onTabComplete(CommandSender sender,
             Command command,
             String alias,
             String[] args)Requests a list of possible completions for a command argument. | 
| List<String> | CommandMap. tabComplete(CommandSender sender,
           String cmdLine)Looks for the requested command and executes an appropriate
 tab-completer if found. | 
| List<String> | SimpleCommandMap. tabComplete(CommandSender sender,
           String cmdLine) | 
| List<String> | CommandMap. tabComplete(CommandSender sender,
           String cmdLine,
           Location location)Looks for the requested command and executes an appropriate
 tab-completer if found. | 
| List<String> | SimpleCommandMap. tabComplete(CommandSender sender,
           String cmdLine,
           Location location) | 
| List<String> | Command. tabComplete(CommandSender sender,
           String alias,
           String[] args)Executed on tab completion for this command, returning a list of
 options the player can tab through. | 
| List<String> | PluginCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Executed on tab completion for this command, returning a list of
 options the player can tab through. | 
| List<String> | Command. tabComplete(CommandSender sender,
           String alias,
           String[] args,
           Location location)Executed on tab completion for this command, returning a list of
 options the player can tab through. | 
| boolean | Command. testPermission(CommandSender target)Tests the given  CommandSenderto see if they can perform this
 command. | 
| boolean | Command. testPermissionSilent(CommandSender target)Tests the given  CommandSenderto see if they can perform this
 command. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SpawnpointCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | DifficultyCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ReloadCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args) | 
| boolean | KillCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | PlaySoundCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | EnchantCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Deprecated.  | 
| boolean | AchievementCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | HelpCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args) | 
| boolean | SaveOnCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | StopCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | PluginsCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args) | 
| boolean | GameModeCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | KickCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SetIdleTimeoutCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | VersionCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args) | 
| boolean | PardonCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | GameRuleCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | TimeCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | OpCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | WhitelistCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | BanIpCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SetWorldSpawnCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | TimingsCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args) | 
| boolean | TellCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | DefaultGameModeCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Deprecated.  | 
| boolean | WeatherCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ToggleDownfallCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ClearCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ScoreboardCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ListCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SaveOffCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | GiveCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | MeCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | EffectCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Deprecated.  | 
| boolean | TeleportCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SeedCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Deprecated.  | 
| boolean | SaveCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | PardonIpCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | ExpCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | BanListCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | DeopCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SpreadPlayersCommand. execute(CommandSender sender,
       String commandLabel,
       String[] args)Deprecated.  | 
| boolean | TestForCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | BanCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| boolean | SayCommand. execute(CommandSender sender,
       String currentAlias,
       String[] args)Deprecated.  | 
| void | TimingsCommand. executeSpigotTimings(CommandSender sender,
                    String[] args) | 
| protected int | DifficultyCommand. getDifficultyForString(CommandSender sender,
                      String name)Deprecated.  | 
| static double | VanillaCommand. getDouble(CommandSender sender,
         String input)Deprecated.  | 
| static double | VanillaCommand. getDouble(CommandSender sender,
         String input,
         double min,
         double max)Deprecated.  | 
| protected int | VanillaCommand. getInteger(CommandSender sender,
          String value,
          int min)Deprecated.  | 
| static double | VanillaCommand. getRelativeDouble(double original,
                 CommandSender sender,
                 String input)Deprecated.  | 
| List<String> | SpawnpointCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | DifficultyCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ReloadCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args) | 
| List<String> | KillCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | EnchantCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | AchievementCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | HelpCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args) | 
| List<String> | SaveOnCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | StopCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | PluginsCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args) | 
| List<String> | GameModeCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | KickCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SetIdleTimeoutCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | VersionCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args) | 
| List<String> | PardonCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | GameRuleCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | TimeCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | OpCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | WhitelistCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | BanIpCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SetWorldSpawnCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | TimingsCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args) | 
| List<String> | TellCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | DefaultGameModeCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | WeatherCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ToggleDownfallCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ClearCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ScoreboardCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ListCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SaveOffCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | GiveCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | EffectCommand. tabComplete(CommandSender sender,
           String commandLabel,
           String[] args)Deprecated.  | 
| List<String> | TeleportCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SeedCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SaveCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | PardonIpCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | ExpCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | BanListCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | DeopCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | TestForCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | BanCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| List<String> | SayCommand. tabComplete(CommandSender sender,
           String alias,
           String[] args)Deprecated.  | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AbstractHorseRepresents a Horse-like creature. | 
| interface  | AgeableRepresents an entity that can age and breed. | 
| interface  | AmbientRepresents an ambient mob | 
| interface  | AnimalsRepresents an Animal. | 
| interface  | AreaEffectCloudRepresents an area effect cloud which will imbue a potion effect onto
 entities which enter it. | 
| interface  | ArmorStand | 
| interface  | ArrowRepresents an arrow. | 
| interface  | BatRepresents a Bat | 
| interface  | BlazeRepresents a Blaze monster | 
| interface  | BoatRepresents a boat entity. | 
| interface  | CaveSpiderRepresents a Spider. | 
| interface  | ChestedHorseRepresents Horse-like creatures which can carry an inventory. | 
| interface  | ChickenRepresents a Chicken. | 
| interface  | ComplexEntityPartRepresents a single part of a  ComplexLivingEntity | 
| interface  | ComplexLivingEntityRepresents a complex living entity - one that is made up of various smaller
 parts | 
| interface  | CowRepresents a Cow. | 
| interface  | CreatureRepresents a Creature. | 
| interface  | CreeperRepresents a Creeper | 
| interface  | DamageableRepresents an  Entitythat has health and can take damage. | 
| interface  | DonkeyRepresents a Donkey - variant of  ChestedHorse. | 
| interface  | DragonFireball | 
| interface  | EggRepresents a thrown egg. | 
| interface  | ElderGuardianRepresents an ElderGuardian - variant of  Guardian. | 
| interface  | EnderCrystalA crystal that heals nearby EnderDragons | 
| interface  | EnderDragonRepresents an Ender Dragon | 
| interface  | EnderDragonPartRepresents an ender dragon part | 
| interface  | EndermanRepresents an Enderman. | 
| interface  | Endermite | 
| interface  | EnderPearlRepresents a thrown Ender Pearl entity | 
| interface  | EnderSignalRepresents an Ender Signal, which is often created upon throwing an ender
 eye | 
| interface  | EntityRepresents a base entity in the world | 
| interface  | EvokerRepresents an Evoker. | 
| interface  | EvokerFangsRepresents Evoker Fangs. | 
| interface  | ExperienceOrbRepresents an Experience Orb. | 
| interface  | ExplosiveA representation of an explosive entity | 
| interface  | FallingBlockRepresents a falling block | 
| interface  | FireballRepresents a Fireball. | 
| interface  | Firework | 
| interface  | FishDeprecated. 
 in favor of  FishHook | 
| interface  | FishHookRepresents a fishing hook. | 
| interface  | FlyingRepresents a Flying Entity. | 
| interface  | GhastRepresents a Ghast. | 
| interface  | GiantRepresents a Giant. | 
| interface  | GolemA mechanical creature that may harm enemies. | 
| interface  | Guardian | 
| interface  | HangingRepresents a Hanging entity | 
| interface  | HorseRepresents a Horse. | 
| interface  | HumanEntityRepresents a human entity, such as an NPC or a player | 
| interface  | HuskRepresents a Husk - variant of  Zombie. | 
| interface  | IronGolemAn iron Golem that protects Villages. | 
| interface  | ItemRepresents an Item. | 
| interface  | ItemFrameRepresents an Item Frame | 
| interface  | LargeFireballRepresents a large  Fireball | 
| interface  | LeashHitchRepresents a Leash Hitch on a fence | 
| interface  | LightningStrikeRepresents an instance of a lightning strike. | 
| interface  | LingeringPotionRepresents a thrown lingering potion bottle | 
| interface  | LivingEntityRepresents a living entity, such as a monster or player | 
| interface  | LlamaRepresents a Llama. | 
| interface  | LlamaSpitRepresents Llama spit. | 
| interface  | MagmaCubeRepresents a MagmaCube. | 
| interface  | MinecartRepresents a minecart entity. | 
| interface  | MonsterRepresents a Monster. | 
| interface  | MuleRepresents a Mule - variant of  ChestedHorse. | 
| interface  | MushroomCowRepresents a mushroom  Cow | 
| interface  | NPCRepresents a non-player character | 
| interface  | OcelotA wild tameable cat | 
| interface  | PaintingRepresents a Painting. | 
| interface  | PigRepresents a Pig. | 
| interface  | PigZombieRepresents a Pig Zombie. | 
| interface  | PlayerRepresents a player, connected or not | 
| interface  | PolarBearRepresents a polar bear. | 
| interface  | ProjectileRepresents a shootable entity. | 
| interface  | Rabbit | 
| interface  | SheepRepresents a Sheep. | 
| interface  | Shulker | 
| interface  | ShulkerBullet | 
| interface  | SilverfishRepresents a Silverfish. | 
| interface  | SkeletonRepresents a Skeleton. | 
| interface  | SkeletonHorseRepresents a SkeletonHorse - variant of  AbstractHorse. | 
| interface  | SlimeRepresents a Slime. | 
| interface  | SmallFireballRepresents a small  Fireball | 
| interface  | SnowballRepresents a snowball. | 
| interface  | SnowmanRepresents a snowman entity | 
| interface  | SpectralArrowRepresents a spectral arrow. | 
| interface  | SpiderRepresents a Spider. | 
| interface  | SplashPotionRepresents a thrown splash potion bottle | 
| interface  | SquidRepresents a Squid. | 
| interface  | StrayRepresents a Stray - variant of  Skeleton. | 
| interface  | ThrownExpBottleRepresents a thrown Experience bottle. | 
| interface  | ThrownPotionRepresents a thrown potion bottle | 
| interface  | TippedArrow | 
| interface  | TNTPrimedRepresents a Primed TNT. | 
| interface  | VehicleRepresents a vehicle entity. | 
| interface  | VexRepresents a Vex. | 
| interface  | VillagerRepresents a villager NPC | 
| interface  | VindicatorRepresents a Vindicator. | 
| interface  | WaterMobRepresents a Water Mob | 
| interface  | WeatherRepresents a Weather related entity, such as a storm | 
| interface  | WitchRepresents a Witch | 
| interface  | WitherRepresents a Wither boss | 
| interface  | WitherSkeletonRepresents a WitherSkeleton - variant of  Skeleton. | 
| interface  | WitherSkullRepresents a wither skull  Fireball. | 
| interface  | WolfRepresents a Wolf | 
| interface  | ZombieRepresents a Zombie. | 
| interface  | ZombieHorseRepresents a ZombieHorse - variant of  AbstractHorse. | 
| interface  | ZombieVillager | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | CommandMinecart | 
| interface  | ExplosiveMinecartRepresents a Minecart with TNT inside it that can explode when triggered. | 
| interface  | HopperMinecartRepresents a Minecart with a Hopper inside it | 
| interface  | PoweredMinecartRepresents a powered minecart. | 
| interface  | RideableMinecartRepresents a minecart that can have certain  entitiesas passengers. | 
| interface  | SpawnerMinecartRepresents a Minecart with an  entity spawnerinside it. | 
| interface  | StorageMinecartRepresents a minecart with a chest. | 
| Modifier and Type | Method and Description | 
|---|---|
| CommandSender | ServerCommandEvent. getSender()Get the command sender. | 
| CommandSender | TabCompleteEvent. getSender()Get the sender completing this command. | 
| Constructor and Description | 
|---|
| RemoteServerCommandEvent(CommandSender sender,
                        String command) | 
| ServerCommandEvent(CommandSender sender,
                  String command) | 
| TabCompleteEvent(CommandSender sender,
                String buffer,
                List<String> completions) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | IndexHelpTopic. buildIndexLine(CommandSender sender,
              HelpTopic topic)Builds individual lines in the index topic. | 
| protected String | IndexHelpTopic. buildPreamble(CommandSender sender)Builds the topic preamble. | 
| abstract boolean | HelpTopic. canSee(CommandSender player)Determines if a  Playeris allowed to see this help topic. | 
| boolean | IndexHelpTopic. canSee(CommandSender sender) | 
| boolean | GenericCommandHelpTopic. canSee(CommandSender sender) | 
| String | HelpTopic. getFullText(CommandSender forWho)Returns the full description of this help topic that is displayed when
 the user requests this topic's details. | 
| String | IndexHelpTopic. getFullText(CommandSender sender) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | JavaPlugin. onCommand(CommandSender sender,
         Command command,
         String label,
         String[] args)Executes the given command, returning its success | 
| List<String> | JavaPlugin. onTabComplete(CommandSender sender,
             Command command,
             String alias,
             String[] args)Requests a list of possible completions for a command argument. | 
Copyright © 2017. All rights reserved.