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
Minecart types. |
org.bukkit.event.server |
Events relating 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
plugins written in
java. |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
Bukkit.dispatchCommand(CommandSender sender,
java.lang.String commandLine) |
Dispatches a command on this server, and executes it if found.
|
boolean |
Server.dispatchCommand(CommandSender sender,
java.lang.String commandLine) |
Dispatches a command on this server, and executes it if found.
|
WorldCreator |
WorldCreator.generator(java.lang.String generator,
CommandSender output) |
Sets the generator that will be used to create or load the world.
|
static ChunkGenerator |
WorldCreator.getGeneratorForName(java.lang.String world,
java.lang.String name,
CommandSender output) |
Attempts to get the
ChunkGenerator with the given name. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
BlockCommandSender |
|
interface |
ConsoleCommandSender |
|
interface |
ProxiedCommandSender |
|
interface |
RemoteConsoleCommandSender |
Modifier and Type | Method | 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 | Description |
---|---|---|
static void |
Command.broadcastCommandMessage(CommandSender source,
java.lang.String message) |
|
static void |
Command.broadcastCommandMessage(CommandSender source,
java.lang.String message,
boolean sendToSource) |
|
boolean |
CommandMap.dispatch(CommandSender sender,
java.lang.String cmdLine) |
Looks for the requested command and executes it if found.
|
boolean |
SimpleCommandMap.dispatch(CommandSender sender,
java.lang.String commandLine) |
Looks for the requested command and executes it if found.
|
abstract boolean |
Command.execute(CommandSender sender,
java.lang.String commandLabel,
java.lang.String[] args) |
Executes the command, returning its success
|
boolean |
FormattedCommandAlias.execute(CommandSender sender,
java.lang.String commandLabel,
java.lang.String[] args) |
|
boolean |
MultipleCommandAlias.execute(CommandSender sender,
java.lang.String commandLabel,
java.lang.String[] args) |
|
boolean |
PluginCommand.execute(CommandSender sender,
java.lang.String commandLabel,
java.lang.String[] args) |
Executes the command, returning its success
|
boolean |
CommandExecutor.onCommand(CommandSender sender,
Command command,
java.lang.String label,
java.lang.String[] args) |
Executes the given command, returning its success
|
java.util.List<java.lang.String> |
TabCompleter.onTabComplete(CommandSender sender,
Command command,
java.lang.String alias,
java.lang.String[] args) |
Requests a list of possible completions for a command argument.
|
java.util.List<java.lang.String> |
Command.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
java.util.List<java.lang.String> |
Command.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args,
Location location) |
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
java.util.List<java.lang.String> |
CommandMap.tabComplete(CommandSender sender,
java.lang.String cmdLine) |
Looks for the requested command and executes an appropriate
tab-completer if found.
|
java.util.List<java.lang.String> |
CommandMap.tabComplete(CommandSender sender,
java.lang.String cmdLine,
Location location) |
Looks for the requested command and executes an appropriate
tab-completer if found.
|
java.util.List<java.lang.String> |
PluginCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
java.util.List<java.lang.String> |
SimpleCommandMap.tabComplete(CommandSender sender,
java.lang.String cmdLine) |
|
java.util.List<java.lang.String> |
SimpleCommandMap.tabComplete(CommandSender sender,
java.lang.String cmdLine,
Location location) |
|
boolean |
Command.testPermission(CommandSender target) |
Tests the given
CommandSender to see if they can perform this
command. |
boolean |
Command.testPermissionSilent(CommandSender target) |
Tests the given
CommandSender to see if they can perform this
command. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
HelpCommand.execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
|
boolean |
PluginsCommand.execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
|
boolean |
ReloadCommand.execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
|
boolean |
TimingsCommand.execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
|
boolean |
VersionCommand.execute(CommandSender sender,
java.lang.String currentAlias,
java.lang.String[] args) |
|
void |
TimingsCommand.executeSpigotTimings(CommandSender sender,
java.lang.String[] args) |
|
java.util.List<java.lang.String> |
HelpCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
|
java.util.List<java.lang.String> |
PluginsCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
|
java.util.List<java.lang.String> |
ReloadCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
|
java.util.List<java.lang.String> |
TimingsCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
|
java.util.List<java.lang.String> |
VersionCommand.tabComplete(CommandSender sender,
java.lang.String alias,
java.lang.String[] args) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
AbstractHorse |
Represents a Horse-like creature.
|
interface |
Ageable |
Represents an entity that can age and breed.
|
interface |
Ambient |
Represents an ambient mob
|
interface |
Animals |
Represents an Animal.
|
interface |
AreaEffectCloud |
Represents an area effect cloud which will imbue a potion effect onto
entities which enter it.
|
interface |
ArmorStand |
|
interface |
Arrow |
Represents an arrow.
|
interface |
Bat |
Represents a Bat
|
interface |
Blaze |
Represents a Blaze monster
|
interface |
Boat |
Represents a boat entity.
|
interface |
CaveSpider |
Represents a Spider.
|
interface |
ChestedHorse |
Represents Horse-like creatures which can carry an inventory.
|
interface |
Chicken |
Represents a Chicken.
|
interface |
Cod |
Represents a cod fish.
|
interface |
ComplexEntityPart |
Represents a single part of a
ComplexLivingEntity |
interface |
ComplexLivingEntity |
Represents a complex living entity - one that is made up of various smaller
parts
|
interface |
Cow |
Represents a Cow.
|
interface |
Creature |
Represents a Creature.
|
interface |
Creeper |
Represents a Creeper
|
interface |
Damageable |
Represents an
Entity that has health and can take damage. |
interface |
Dolphin |
|
interface |
Donkey |
Represents a Donkey - variant of
ChestedHorse . |
interface |
DragonFireball |
|
interface |
Drowned |
Drowned zombie.
|
interface |
Egg |
Represents a thrown egg.
|
interface |
ElderGuardian |
Represents an ElderGuardian - variant of
Guardian . |
interface |
EnderCrystal |
A crystal that heals nearby EnderDragons
|
interface |
EnderDragon |
Represents an Ender Dragon
|
interface |
EnderDragonPart |
Represents an ender dragon part
|
interface |
Enderman |
Represents an Enderman.
|
interface |
Endermite |
|
interface |
EnderPearl |
Represents a thrown Ender Pearl entity
|
interface |
EnderSignal |
Represents an EnderSignal, which is created upon throwing an ender eye.
|
interface |
Entity |
Represents a base entity in the world
|
interface |
Evoker |
Represents an Evoker "Illager".
|
interface |
EvokerFangs |
Represents Evoker Fangs.
|
interface |
ExperienceOrb |
Represents an Experience Orb.
|
interface |
Explosive |
A representation of an explosive entity
|
interface |
FallingBlock |
Represents a falling block
|
interface |
Fireball |
Represents a Fireball.
|
interface |
Firework |
|
interface |
Fish |
Represents a fish entity.
|
interface |
FishHook |
Represents a fishing hook.
|
interface |
Flying |
Represents a Flying Entity.
|
interface |
Ghast |
Represents a Ghast.
|
interface |
Giant |
Represents a Giant.
|
interface |
Golem |
A mechanical creature that may harm enemies.
|
interface |
Guardian |
|
interface |
Hanging |
Represents a Hanging entity
|
interface |
Horse |
Represents a Horse.
|
interface |
HumanEntity |
Represents a human entity, such as an NPC or a player
|
interface |
Husk |
Represents a Husk - variant of
Zombie . |
interface |
Illager |
Represents a type of "Illager".
|
interface |
Illusioner |
Represents an Illusioner "Illager".
|
interface |
IronGolem |
An iron Golem that protects Villages.
|
interface |
Item |
Represents an Item.
|
interface |
ItemFrame |
Represents an Item Frame
|
interface |
LargeFireball |
Represents a large
Fireball |
interface |
LeashHitch |
Represents a Leash Hitch on a fence
|
interface |
LightningStrike |
Represents an instance of a lightning strike.
|
interface |
LingeringPotion |
Represents a thrown lingering potion bottle
|
interface |
LivingEntity |
Represents a living entity, such as a monster or player
|
interface |
Llama |
Represents a Llama.
|
interface |
LlamaSpit |
Represents Llama spit.
|
interface |
MagmaCube |
Represents a MagmaCube.
|
interface |
Minecart |
Represents a minecart entity.
|
interface |
Mob |
Represents a Mob.
|
interface |
Monster |
Represents a Monster.
|
interface |
Mule |
Represents a Mule - variant of
ChestedHorse . |
interface |
MushroomCow |
Represents a mushroom
Cow |
interface |
NPC |
Represents a non-player character
|
interface |
Ocelot |
A wild tameable cat
|
interface |
Painting |
Represents a Painting.
|
interface |
Parrot |
Represents a Parrot.
|
interface |
Phantom |
Represents a phantom.
|
interface |
Pig |
Represents a Pig.
|
interface |
PigZombie |
Represents a Pig Zombie.
|
interface |
Player |
Represents a player, connected or not
|
interface |
PolarBear |
Represents a polar bear.
|
interface |
Projectile |
Represents a shootable entity.
|
interface |
PufferFish |
Represents a puffer fish.
|
interface |
Rabbit |
|
interface |
Salmon |
Represents a salmon fish.
|
interface |
Sheep |
Represents a Sheep.
|
interface |
Shulker |
|
interface |
ShulkerBullet |
|
interface |
Silverfish |
Represents a Silverfish.
|
interface |
Skeleton |
Represents a Skeleton.
|
interface |
SkeletonHorse |
Represents a SkeletonHorse - variant of
AbstractHorse . |
interface |
Slime |
Represents a Slime.
|
interface |
SmallFireball |
Represents a small
Fireball |
interface |
Snowball |
Represents a snowball.
|
interface |
Snowman |
Represents a snowman entity
|
interface |
SpectralArrow |
Represents a spectral arrow.
|
interface |
Spellcaster |
Represents a spell casting "Illager".
|
interface |
Spider |
Represents a Spider.
|
interface |
SplashPotion |
Represents a thrown splash potion bottle
|
interface |
Squid |
Represents a Squid.
|
interface |
Stray |
Represents a Stray - variant of
Skeleton . |
interface |
Tameable |
|
interface |
ThrownExpBottle |
Represents a thrown Experience bottle.
|
interface |
ThrownPotion |
Represents a thrown potion bottle
|
interface |
TippedArrow |
|
interface |
TNTPrimed |
Represents a Primed TNT.
|
interface |
Trident |
Represents a thrown trident.
|
interface |
TropicalFish |
Tropical fish.
|
interface |
Turtle |
Represents a turtle.
|
interface |
Vehicle |
Represents a vehicle entity.
|
interface |
Vex |
Represents a Vex.
|
interface |
Villager |
Represents a villager NPC
|
interface |
Vindicator |
Represents a Vindicator.
|
interface |
WaterMob |
Represents a Water Mob
|
interface |
Weather |
Represents a Weather related entity, such as a storm
|
interface |
Witch |
Represents a Witch
|
interface |
Wither |
Represents a Wither boss
|
interface |
WitherSkeleton |
Represents a WitherSkeleton - variant of
Skeleton . |
interface |
WitherSkull |
Represents a wither skull
Fireball . |
interface |
Wolf |
Represents a Wolf
|
interface |
Zombie |
Represents a Zombie.
|
interface |
ZombieHorse |
Represents a ZombieHorse - variant of
AbstractHorse . |
interface |
ZombieVillager |
Modifier and Type | Interface | Description |
---|---|---|
interface |
CommandMinecart |
|
interface |
ExplosiveMinecart |
Represents a Minecart with TNT inside it that can explode when triggered.
|
interface |
HopperMinecart |
Represents a Minecart with a Hopper inside it
|
interface |
PoweredMinecart |
Represents a powered minecart.
|
interface |
RideableMinecart |
Represents a minecart that can have certain
entities as passengers. |
interface |
SpawnerMinecart |
Represents a Minecart with an
entity spawner inside it. |
interface |
StorageMinecart |
Represents a minecart with a chest.
|
Modifier and Type | Method | Description |
---|---|---|
CommandSender |
ServerCommandEvent.getSender() |
Get the command sender.
|
CommandSender |
TabCompleteEvent.getSender() |
Get the sender completing this command.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<CommandSender> |
BroadcastMessageEvent.getRecipients() |
Gets a set of recipients that this chat message will be displayed to.
|
Constructor | Description |
---|---|
RemoteServerCommandEvent(CommandSender sender,
java.lang.String command) |
|
ServerCommandEvent(CommandSender sender,
java.lang.String command) |
|
TabCompleteEvent(CommandSender sender,
java.lang.String buffer,
java.util.List<java.lang.String> completions) |
Constructor | Description |
---|---|
BroadcastMessageEvent(java.lang.String message,
java.util.Set<CommandSender> recipients) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
IndexHelpTopic.buildIndexLine(CommandSender sender,
HelpTopic topic) |
Builds individual lines in the index topic.
|
protected java.lang.String |
IndexHelpTopic.buildPreamble(CommandSender sender) |
Builds the topic preamble.
|
boolean |
GenericCommandHelpTopic.canSee(CommandSender sender) |
|
abstract boolean |
HelpTopic.canSee(CommandSender player) |
Determines if a
Player is allowed to see this help topic. |
boolean |
IndexHelpTopic.canSee(CommandSender sender) |
|
java.lang.String |
HelpTopic.getFullText(CommandSender forWho) |
Returns the full description of this help topic that is displayed when
the user requests this topic's details.
|
java.lang.String |
IndexHelpTopic.getFullText(CommandSender sender) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
JavaPlugin.onCommand(CommandSender sender,
Command command,
java.lang.String label,
java.lang.String[] args) |
Executes the given command, returning its success
|
java.util.List<java.lang.String> |
JavaPlugin.onTabComplete(CommandSender sender,
Command command,
java.lang.String alias,
java.lang.String[] args) |
Requests a list of possible completions for a command argument.
|
Copyright © 2018. All rights reserved.