| Modifier and Type | Method and Description | 
|---|---|
@Nullable Player | 
ParticleBuilder.source()  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull ParticleBuilder | 
ParticleBuilder.receivers(Player... receivers)  | 
void | 
Title.send(@NotNull Player player)
Deprecated.  
Sends the title directly to an player 
 | 
void | 
Title.send(@NotNull Player[] players)
Deprecated.  
Sends the title directly to the defined players 
 | 
@NotNull ParticleBuilder | 
ParticleBuilder.source(@Nullable Player source)
Sets the source of this particle for visibility concerns (Vanish API) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
BeaconEffectEvent.getPlayer()
Gets the player who the potion effect is being applied to. 
 | 
| Constructor and Description | 
|---|
BeaconEffectEvent(@NotNull Block block,
                 @NotNull PotionEffect effect,
                 @NotNull Player player,
                 boolean primary)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
EndermanAttackPlayerEvent.getPlayer()
The player the Enderman is considering attacking 
 | 
| Constructor and Description | 
|---|
EndermanAttackPlayerEvent(@NotNull Enderman entity,
                         @NotNull Player player)  | 
PlayerNaturallySpawnCreaturesEvent(@NotNull Player player,
                                  byte radius)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
IllegalPacketEvent.process(@NotNull Player player,
       @Nullable String type,
       @Nullable String kickMessage,
       @NotNull Exception exception)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
protected @NotNull Player | 
PaperServerListPingEvent.getBukkitPlayer(@NotNull Object player)  | 
| Modifier and Type | Method and Description | 
|---|---|
Player | 
ServerPluginMessageException.getPlayer()
Gets the player which the plugin message causing the exception originated from 
 | 
| Constructor and Description | 
|---|
ServerPluginMessageException(String message,
                            Throwable cause,
                            boolean enableSuppression,
                            boolean writableStackTrace,
                            Plugin responsiblePlugin,
                            Player player,
                            String channel,
                            byte[] data)  | 
ServerPluginMessageException(String message,
                            Throwable cause,
                            Plugin responsiblePlugin,
                            Player player,
                            String channel,
                            byte[] data)  | 
ServerPluginMessageException(Throwable cause,
                            Plugin responsiblePlugin,
                            Player player,
                            String channel,
                            byte[] data)  | 
| Modifier and Type | Method and Description | 
|---|---|
default @Nullable Long | 
LootableInventory.getLastLooted(@NotNull Player player)
Gets the timestamp, in milliseconds, of when the player last looted this object 
 | 
default boolean | 
LootableInventory.hasPlayerLooted(@NotNull Player player)
Has this player ever looted this block 
 | 
default boolean | 
LootableInventory.setHasPlayerLooted(@NotNull Player player,
                  boolean looted)
Change the state of whether or not a player has looted this block 
 | 
| Constructor and Description | 
|---|
LootableInventoryReplenishEvent(@NotNull Player player,
                               @NotNull LootableInventory inventory)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull net.kyori.adventure.text.Component | 
ChatComposer.composeChat(@NotNull Player source,
           @NotNull net.kyori.adventure.text.Component displayName,
           @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17 
 | 
@NotNull net.kyori.adventure.text.Component | 
ChatRenderer.ViewerUnaware.render(@NotNull Player source,
      @NotNull net.kyori.adventure.text.Component sourceDisplayName,
      @NotNull net.kyori.adventure.text.Component message)
Renders a chat message. 
 | 
@NotNull net.kyori.adventure.text.Component | 
ChatRenderer.render(@NotNull Player source,
      @NotNull net.kyori.adventure.text.Component sourceDisplayName,
      @NotNull net.kyori.adventure.text.Component message,
      @NotNull net.kyori.adventure.audience.Audience viewer)
Renders a chat message. 
 | 
| Constructor and Description | 
|---|
PlayerShearBlockEvent(@NotNull Player who,
                     @NotNull Block block,
                     @NotNull ItemStack item,
                     @NotNull EquipmentSlot hand,
                     @NotNull List<ItemStack> drops)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
PlayerChunkUnloadEvent.getPlayer()  | 
@NotNull Player | 
PlayerChunkLoadEvent.getPlayer()  | 
| Constructor and Description | 
|---|
PlayerChunkLoadEvent(@NotNull Chunk chunk,
                    @NotNull Player player)  | 
PlayerChunkUnloadEvent(@NotNull Chunk chunk,
                      @NotNull Player player)  | 
| Constructor and Description | 
|---|
AsyncChatEvent(boolean async,
              @NotNull Player player,
              @NotNull Set<net.kyori.adventure.audience.Audience> viewers,
              @NotNull ChatRenderer renderer,
              @NotNull net.kyori.adventure.text.Component message)  | 
AsyncChatEvent(boolean async,
              @NotNull Player player,
              @NotNull Set<Player> recipients,
              @NotNull ChatComposer composer,
              @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) | 
AsyncChatEvent(boolean async,
              @NotNull Player player,
              @NotNull Set<Player> recipients,
              @NotNull ChatFormatter formatter,
              @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) | 
AsyncChatEvent(boolean async,
              @NotNull Player player,
              @NotNull Set<Player> recipients,
              @NotNull Set<net.kyori.adventure.audience.Audience> viewers,
              @NotNull ChatRenderer renderer,
              @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) | 
ChatEvent(@NotNull Player player,
         @NotNull Set<net.kyori.adventure.audience.Audience> viewers,
         @NotNull ChatRenderer renderer,
         @NotNull net.kyori.adventure.text.Component message)
Deprecated.  
  | 
ChatEvent(@NotNull Player player,
         @NotNull Set<Player> recipients,
         @NotNull ChatComposer composer,
         @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
ChatEvent(Player, Set, ChatRenderer, Component) | 
ChatEvent(@NotNull Player player,
         @NotNull Set<Player> recipients,
         @NotNull ChatFormatter formatter,
         @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
ChatEvent(Player, Set, ChatRenderer, Component) | 
ChatEvent(@NotNull Player player,
         @NotNull Set<Player> recipients,
         @NotNull Set<net.kyori.adventure.audience.Audience> viewers,
         @NotNull ChatRenderer renderer,
         @NotNull net.kyori.adventure.text.Component message)
Deprecated. 
 
for removal with 1.17, use  
ChatEvent(Player, Set, ChatRenderer, Component) | 
PlayerBedFailEnterEvent(@NotNull Player player,
                       @NotNull PlayerBedFailEnterEvent.FailReason failReason,
                       @NotNull Block bed,
                       boolean willExplode,
                       @Nullable net.kyori.adventure.text.Component message)  | 
PlayerChangeBeaconEffectEvent(@NotNull Player player,
                             @Nullable PotionEffectType primary,
                             @Nullable PotionEffectType secondary,
                             @Nullable Block beacon)  | 
PlayerDeepSleepEvent(@NotNull Player player)  | 
PlayerFlowerPotManipulateEvent(@NotNull Player player,
                              @NotNull Block flowerpot,
                              @NotNull ItemStack item,
                              boolean placing)  | 
PlayerItemCooldownEvent(@NotNull Player player,
                       @NotNull Material type,
                       int cooldown)  | 
PlayerLecternPageChangeEvent(@NotNull Player player,
                            @NotNull Lectern lectern,
                            @NotNull ItemStack book,
                            @NotNull PlayerLecternPageChangeEvent.PageChangeDirection pageChangeDirection,
                            int oldPage,
                            int newPage)  | 
PlayerLoomPatternSelectEvent(@NotNull Player player,
                            @NotNull LoomInventory loomInventory,
                            @NotNull PatternType patternType)  | 
PlayerNameEntityEvent(@NotNull Player player,
                     @NotNull LivingEntity entity,
                     @NotNull net.kyori.adventure.text.Component name,
                     boolean persistent)  | 
PlayerStonecutterRecipeSelectEvent(@NotNull Player player,
                                  @NotNull StonecutterInventory stonecutterInventory,
                                  @NotNull StonecuttingRecipe stonecuttingRecipe)  | 
PlayerTradeEvent(@NotNull Player player,
                @NotNull AbstractVillager villager,
                @NotNull MerchantRecipe trade,
                boolean rewardExp,
                boolean increaseTradeUses)  | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Player | 
OfflinePlayer.getPlayer()
Gets a  
Player object that this represents, if there is one | 
static @Nullable Player | 
Bukkit.getPlayer(@NotNull String name)
Gets a player object by the given username. 
 | 
@Nullable Player | 
Server.getPlayer(@NotNull String name)
Gets a player object by the given username. 
 | 
static @Nullable Player | 
Bukkit.getPlayer(@NotNull UUID id)
Gets the player with the given UUID. 
 | 
@Nullable Player | 
Server.getPlayer(@NotNull UUID id)
Gets the player with the given UUID. 
 | 
static @Nullable Player | 
Bukkit.getPlayerExact(@NotNull String name)
Gets the player with the exact given name, case insensitive. 
 | 
@Nullable Player | 
Server.getPlayerExact(@NotNull String name)
Gets the player with the exact given name, case insensitive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default <T> void | 
World.spawnParticle(@NotNull Particle particle,
             @Nullable List<Player> receivers,
             @NotNull Player source,
             double x,
             double y,
             double z,
             int count,
             double offsetX,
             double offsetY,
             double offsetZ,
             double extra,
             T data)
Spawns the particle (the number of times specified by count)
 at the target location. 
 | 
<T> void | 
World.spawnParticle(@NotNull Particle particle,
             @Nullable List<Player> receivers,
             @Nullable Player source,
             double x,
             double y,
             double z,
             int count,
             double offsetX,
             double offsetY,
             double offsetZ,
             double extra,
             T data,
             boolean force)
Spawns the particle (the number of times specified by count)
 at the target location. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BossBar.addPlayer(@NotNull Player player)
Adds the player to this boss bar causing it to display on their screen. 
 | 
void | 
BossBar.removePlayer(@NotNull Player player)
Removes the player from this boss bar causing it to be removed from their
 screen. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract @Nullable Prompt | 
PlayerNamePrompt.acceptValidatedInput(@NotNull ConversationContext context,
                    @NotNull Player input)
Override this method to perform some action with the user's player name
 response. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Player | 
LivingEntity.getKiller()
Gets the player identified as the killer of the living entity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Player> | 
Player.Spigot.getHiddenPlayers()
Gets all players hidden with  
hidePlayer(org.bukkit.entity.Player). | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
Player.canSee(@NotNull Player player)
Checks to see if a player has been hidden from this player 
 | 
void | 
Player.hidePlayer(@NotNull Player player)
Deprecated. 
 
 | 
void | 
Player.hidePlayer(@NotNull Plugin plugin,
          @NotNull Player player)
Hides a player from this player 
 | 
void | 
LivingEntity.setKiller(@Nullable Player killer)
Sets the player identified as the killer of the living entity. 
 | 
void | 
Player.showPlayer(@NotNull Player player)
Deprecated. 
 
 | 
void | 
Player.showPlayer(@NotNull Plugin plugin,
          @NotNull Player player)
Allows this player to see a player that was previously hidden. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Player | 
BlockPlaceEvent.player  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
BlockDamageEvent.getPlayer()
Gets the player damaging the block involved in this event. 
 | 
@NotNull Player | 
SignChangeEvent.getPlayer()
Gets the player changing the sign involved in this event. 
 | 
@Nullable Player | 
BlockCanBuildEvent.getPlayer()
Gets the player who placed the block involved in this event. 
 | 
@NotNull Player | 
BlockBreakEvent.getPlayer()
Gets the Player that is breaking the block involved in this event. 
 | 
@Nullable Player | 
BlockFertilizeEvent.getPlayer()
Gets the player that triggered the fertilization. 
 | 
@NotNull Player | 
BlockPlaceEvent.getPlayer()
Gets the player who placed the block involved in this event. 
 | 
@Nullable Player | 
BlockIgniteEvent.getPlayer()
Gets the player who ignited this block 
 | 
@NotNull Player | 
BlockDropItemEvent.getPlayer()
Gets the Player that is breaking the block involved in this event. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
PrepareItemEnchantEvent.getEnchanter()
Gets the player enchanting the item 
 | 
@NotNull Player | 
EnchantItemEvent.getEnchanter()
Gets the player enchanting the item 
 | 
| Constructor and Description | 
|---|
EnchantItemEvent(@NotNull Player enchanter,
                @NotNull InventoryView view,
                @NotNull Block table,
                @NotNull ItemStack item,
                int level,
                @NotNull Map<Enchantment,Integer> enchants,
                int i)  | 
PrepareItemEnchantEvent(@NotNull Player enchanter,
                       @NotNull InventoryView view,
                       @NotNull Block table,
                       @NotNull ItemStack item,
                       @NotNull EnchantmentOffer[] offers,
                       int bonus)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
PlayerDeathEvent.getEntity()  | 
@NotNull Player | 
PlayerLeashEntityEvent.getPlayer()
Returns the player involved in this event 
 | 
@Nullable Player | 
EntityPlaceEvent.getPlayer()
Returns the player placing the entity 
 | 
| Constructor and Description | 
|---|
EntityPlaceEvent(@NotNull Entity entity,
                @Nullable Player player,
                @NotNull Block block,
                @NotNull BlockFace blockFace)  | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                net.kyori.adventure.text.Component adventure$deathMessage)  | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                net.kyori.adventure.text.Component adventure$deathMessage,
                @Nullable String deathMessage)  | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                int newTotalExp,
                int newLevel,
                net.kyori.adventure.text.Component adventure$deathMessage,
                @Nullable String deathMessage)  | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                int newTotalExp,
                int newLevel,
                net.kyori.adventure.text.Component adventure$deathMessage,
                @Nullable String deathMessage,
                boolean doExpDrop)  | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                int newTotalExp,
                int newLevel,
                @Nullable String deathMessage)
Deprecated.  
 | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                int newTotalExp,
                int newLevel,
                @Nullable String deathMessage,
                boolean doExpDrop)
Deprecated.  
 | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                int newExp,
                @Nullable String deathMessage)
Deprecated.  
 | 
PlayerDeathEvent(@NotNull Player player,
                @NotNull List<ItemStack> drops,
                int droppedExp,
                @Nullable String deathMessage)  | 
PlayerLeashEntityEvent(@NotNull Entity what,
                      @NotNull Entity leashHolder,
                      @NotNull Player leasher)  | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Player | 
HangingPlaceEvent.getPlayer()
Returns the player placing the hanging entity 
 | 
| Constructor and Description | 
|---|
HangingPlaceEvent(@NotNull Hanging hanging,
                 @Nullable Player player,
                 @NotNull Block block,
                 @NotNull BlockFace blockFace)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
FurnaceExtractEvent.getPlayer()
Get the player that triggered the event 
 | 
| Constructor and Description | 
|---|
FurnaceExtractEvent(@NotNull Player player,
                   @NotNull Block block,
                   @NotNull Material itemType,
                   int itemAmount,
                   int exp)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Player | 
PlayerEvent.player  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
PlayerUnleashEntityEvent.getPlayer()
Returns the player who is unleashing the entity. 
 | 
@NotNull Player | 
PlayerEvent.getPlayer()
Returns the player involved in this event 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PlayerChatEvent.setPlayer(@NotNull Player player)
Deprecated.  
Sets the player that this message will display as, or command will be
 executed as 
 | 
void | 
PlayerCommandPreprocessEvent.setPlayer(@NotNull Player player)
Sets the player that this command will be executed as. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Player | 
RaidTriggerEvent.getPlayer()
Returns the player who triggered the raid. 
 | 
| Constructor and Description | 
|---|
RaidTriggerEvent(@NotNull Raid raid,
                @NotNull World world,
                @NotNull Player player)  | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Player | 
StructureGrowEvent.getPlayer()
Gets the player that created the structure. 
 | 
| Constructor and Description | 
|---|
StructureGrowEvent(@NotNull Location location,
                  @NotNull TreeType species,
                  boolean bonemeal,
                  @Nullable Player player,
                  @NotNull List<BlockState> blocks)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
MapRenderer.render(@NotNull MapView map,
      @NotNull MapCanvas canvas,
      @NotNull Player player)
Render to the given map. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
StandardMessenger.dispatchIncomingMessage(@NotNull Player source,
                       @NotNull String channel,
                       @NotNull byte[] message)  | 
void | 
Messenger.dispatchIncomingMessage(@NotNull Player source,
                       @NotNull String channel,
                       @NotNull byte[] message)
Dispatches the specified incoming message to any registered listeners. 
 | 
void | 
PluginMessageListener.onPluginMessageReceived(@NotNull String channel,
                       @NotNull Player player,
                       @NotNull byte[] message)
A method that will be thrown when a PluginMessageSource sends a plugin
 message on a registered channel. 
 | 
| Constructor and Description | 
|---|
PlayerSpawnLocationEvent(@NotNull Player who,
                        @NotNull Location spawnLocation)  | 
Copyright © 2021. All rights reserved.