| パッケージ | 説明 |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.boss | |
| org.bukkit.conversations |
Classes dedicated to facilitate direct player-to-plugin communication.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.block | |
| org.bukkit.event.enchantment |
Events triggered from an enchantment table. |
| org.bukkit.event.entity | |
| org.bukkit.event.hanging |
Events relating to entities that hang. |
| org.bukkit.event.inventory | |
| org.bukkit.event.player | |
| org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
| org.bukkit.event.world | |
| org.bukkit.map |
Classes to facilitate plugin handling of
map displays. |
| org.bukkit.plugin.messaging |
Classes dedicated to specialized plugin to client protocols.
|
| org.spigotmc.event.player |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player[] |
Server._INVALID_getOnlinePlayers()
非推奨です。
superseded by
Server.getOnlinePlayers() |
static Player[] |
Bukkit._INVALID_getOnlinePlayers()
非推奨です。
superseded by
Bukkit.getOnlinePlayers() |
Player |
OfflinePlayer.getPlayer()
Gets a
Player object that this represents, if there is one
If the player is online, this will return that player. |
Player |
Server.getPlayer(String name)
Gets a player object by the given username.
|
static Player |
Bukkit.getPlayer(String name)
Gets a player object by the given username.
|
Player |
Server.getPlayer(UUID id)
Gets the player with the given UUID.
|
static Player |
Bukkit.getPlayer(UUID id)
Gets the player with the given UUID.
|
Player |
Server.getPlayerExact(String name)
Gets the player with the exact given name, case insensitive.
|
static Player |
Bukkit.getPlayerExact(String name)
Gets the player with the exact given name, case insensitive.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Collection<? extends Player> |
Server.getOnlinePlayers()
Gets a view of all currently logged in players.
|
static Collection<? extends Player> |
Bukkit.getOnlinePlayers()
Gets a view of all currently logged in players.
|
List<Player> |
World.getPlayers()
Get a list of all players in this World
|
List<Player> |
Server.matchPlayer(String name)
Attempts to match any players with the given name, and returns a list
of all possibly matches.
|
static List<Player> |
Bukkit.matchPlayer(String name)
Attempts to match any players with the given name, and returns a list
of all possibly matches.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<Player> |
BossBar.getPlayers()
Returns all players viewing this boss bar
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
BossBar.addPlayer(Player player)
Adds the player to this boss bar causing it to display on their screen.
|
void |
BossBar.removePlayer(Player player)
Removes the player from this boss bar causing it to be removed from their
screen.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract Prompt |
PlayerNamePrompt.acceptValidatedInput(ConversationContext context,
Player input)
Override this method to perform some action with the user's player name
response.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
LivingEntity.getKiller()
Gets the player identified as the killer of the living entity.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Set<Player> |
Player.Spigot.getHiddenPlayers()
Gets all players hidden with
hidePlayer(org.bukkit.entity.Player). |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
Player.canSee(Player player)
Checks to see if a player has been hidden from this player
|
void |
Player.hidePlayer(Player player)
Hides a player from this player
|
void |
Player.showPlayer(Player player)
Allows this player to see a player that was previously hidden
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Player |
BlockPlaceEvent.player |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
SignChangeEvent.getPlayer()
Gets the player changing the sign involved in this event.
|
Player |
BlockPlaceEvent.getPlayer()
Gets the player who placed the block involved in this event.
|
Player |
BlockIgniteEvent.getPlayer()
Gets the player who ignited this block
|
Player |
BlockDamageEvent.getPlayer()
Gets the player damaging the block involved in this event.
|
Player |
BlockBreakEvent.getPlayer()
Gets the Player that is breaking the block involved in this event.
|
| コンストラクタと説明 |
|---|
BlockBreakEvent(Block theBlock,
Player player) |
BlockDamageEvent(Player player,
Block block,
ItemStack itemInHand,
boolean instaBreak) |
BlockIgniteEvent(Block theBlock,
BlockIgniteEvent.IgniteCause cause,
Player thePlayer)
非推奨です。
|
BlockMultiPlaceEvent(List<BlockState> states,
Block clicked,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild) |
BlockPlaceEvent(Block placedBlock,
BlockState replacedBlockState,
Block placedAgainst,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild)
非推奨です。
|
BlockPlaceEvent(Block placedBlock,
BlockState replacedBlockState,
Block placedAgainst,
ItemStack itemInHand,
Player thePlayer,
boolean canBuild,
EquipmentSlot hand) |
SignChangeEvent(Block theBlock,
Player thePlayer,
String[] theLines) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
PrepareItemEnchantEvent.getEnchanter()
Gets the player enchanting the item
|
Player |
EnchantItemEvent.getEnchanter()
Gets the player enchanting the item
|
| コンストラクタと説明 |
|---|
EnchantItemEvent(Player enchanter,
InventoryView view,
Block table,
ItemStack item,
int level,
Map<Enchantment,Integer> enchants,
int i) |
PrepareItemEnchantEvent(Player enchanter,
InventoryView view,
Block table,
ItemStack item,
int[] levelsOffered,
int bonus) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
PlayerDeathEvent.getEntity() |
Player |
PlayerLeashEntityEvent.getPlayer()
Returns the player involved in this event
|
| コンストラクタと説明 |
|---|
PlayerDeathEvent(Player player,
List<ItemStack> drops,
int droppedExp,
int newExp,
int newTotalExp,
int newLevel,
String deathMessage) |
PlayerDeathEvent(Player player,
List<ItemStack> drops,
int droppedExp,
int newExp,
String deathMessage) |
PlayerDeathEvent(Player player,
List<ItemStack> drops,
int droppedExp,
String deathMessage) |
PlayerLeashEntityEvent(Entity what,
Entity leashHolder,
Player leasher) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
HangingPlaceEvent.getPlayer()
Returns the player placing the hanging entity
|
| コンストラクタと説明 |
|---|
HangingPlaceEvent(Hanging hanging,
Player player,
Block block,
BlockFace blockFace) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
FurnaceExtractEvent.getPlayer()
Get the player that triggered the event
|
| コンストラクタと説明 |
|---|
FurnaceExtractEvent(Player player,
Block block,
Material itemType,
int itemAmount,
int exp) |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Player |
PlayerEvent.player |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
PlayerUnleashEntityEvent.getPlayer()
Returns the player who is unleashing the entity.
|
Player |
PlayerEvent.getPlayer()
Returns the player involved in this event
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Set<Player> |
PlayerCommandPreprocessEvent.getRecipients()
非推奨です。
This method is provided for backward compatibility with no
guarantee to the effect of viewing or modifying the set.
|
Set<Player> |
PlayerChatEvent.getRecipients()
非推奨です。
Gets a set of recipients that this chat message will be displayed to
|
Set<Player> |
AsyncPlayerChatEvent.getRecipients()
Gets a set of recipients that this chat message will be displayed to.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
PlayerCommandPreprocessEvent.setPlayer(Player player)
Sets the player that this command will be executed as.
|
void |
PlayerChatEvent.setPlayer(Player player)
非推奨です。
Sets the player that this message will display as, or command will be
executed as
|
| コンストラクタと説明 |
|---|
AsyncPlayerChatEvent(boolean async,
Player who,
String message,
Set<Player> players) |
PlayerChatEvent(Player player,
String message,
String format,
Set<Player> recipients)
非推奨です。
|
PlayerCommandPreprocessEvent(Player player,
String message,
Set<Player> recipients) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Iterator<Player> |
ServerListPingEvent.iterator()
Calling the
Iterator.remove() method will force that particular
player to not be displayed on the player list, decrease the size
returned by ServerListPingEvent.getNumPlayers(), and will not be returned again by
any new iterator. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Player |
StructureGrowEvent.getPlayer()
Gets the player that created the structure.
|
| コンストラクタと説明 |
|---|
StructureGrowEvent(Location location,
TreeType species,
boolean bonemeal,
Player player,
List<BlockState> blocks) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
abstract void |
MapRenderer.render(MapView map,
MapCanvas canvas,
Player player)
Render to the given map.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
StandardMessenger.dispatchIncomingMessage(Player source,
String channel,
byte[] message) |
void |
Messenger.dispatchIncomingMessage(Player source,
String channel,
byte[] message)
Dispatches the specified incoming message to any registered listeners.
|
void |
PluginMessageListener.onPluginMessageReceived(String channel,
Player player,
byte[] message)
A method that will be thrown when a PluginMessageSource sends a plugin
message on a registered channel.
|
| コンストラクタと説明 |
|---|
PlayerSpawnLocationEvent(Player who,
Location spawnLocation) |
Copyright © 2016. All rights reserved.