Package | Description |
---|---|
com.destroystokyo.paper.event.profile | |
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player | |
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerProfile |
PreFillProfileEvent.getPlayerProfile() |
@NotNull PlayerProfile |
ProfileWhitelistVerifyEvent.getPlayerProfile() |
@NotNull PlayerProfile |
LookupProfileEvent.getPlayerProfile() |
@NotNull PlayerProfile |
FillProfileEvent.getPlayerProfile() |
Constructor and Description |
---|
FillProfileEvent(@NotNull PlayerProfile profile) |
LookupProfileEvent(@NotNull PlayerProfile profile) |
PreFillProfileEvent(@NotNull PlayerProfile profile) |
ProfileWhitelistVerifyEvent(@NotNull PlayerProfile profile,
boolean whitelistEnabled,
boolean whitelisted,
boolean isOp,
@Nullable net.kyori.adventure.text.Component kickMessage) |
ProfileWhitelistVerifyEvent(@NotNull PlayerProfile profile,
boolean whitelistEnabled,
boolean whitelisted,
boolean isOp,
@Nullable String kickMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PlayerProfile |
Bukkit.createProfile(@NotNull String name)
Creates a PlayerProfile for the specified name, with UUID as null
|
PlayerProfile |
Server.createProfile(@NotNull String name)
Creates a PlayerProfile for the specified name, with UUID as null
|
static PlayerProfile |
Bukkit.createProfile(@NotNull UUID uuid)
Creates a PlayerProfile for the specified uuid, with name as null
|
PlayerProfile |
Server.createProfile(@NotNull UUID uuid)
Creates a PlayerProfile for the specified uuid, with name as null
|
static PlayerProfile |
Bukkit.createProfile(@Nullable UUID uuid,
@Nullable String name)
Creates a PlayerProfile for the specified name/uuid
Both UUID and Name can not be null at same time.
|
PlayerProfile |
Server.createProfile(@Nullable UUID uuid,
@Nullable String name)
Creates a PlayerProfile for the specified name/uuid
Both UUID and Name can not be null at same time.
|
Modifier and Type | Method and Description |
---|---|
@Nullable PlayerProfile |
Skull.getPlayerProfile()
If the skull has an owner, per
Skull.hasOwner() , return the owners PlayerProfile |
Modifier and Type | Method and Description |
---|---|
void |
Skull.setPlayerProfile(@NotNull PlayerProfile profile)
Sets this skull to use the supplied Player Profile, which can include textures already prefilled.
|
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerProfile |
Player.getPlayerProfile()
Gets a copy of this players profile
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setPlayerProfile(@NotNull PlayerProfile profile)
Changes the PlayerProfile for this player.
|
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerProfile |
AsyncPlayerPreLoginEvent.getPlayerProfile()
Gets the PlayerProfile of the player logging in
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncPlayerPreLoginEvent.setPlayerProfile(@NotNull PlayerProfile profile) |
Constructor and Description |
---|
AsyncPlayerPreLoginEvent(@NotNull String name,
@NotNull InetAddress ipAddress,
@NotNull InetAddress rawAddress,
@NotNull UUID uniqueId,
@NotNull PlayerProfile profile) |
AsyncPlayerPreLoginEvent(@NotNull String name,
@NotNull InetAddress ipAddress,
@NotNull UUID uniqueId,
@NotNull PlayerProfile profile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable PlayerProfile |
SkullMeta.getPlayerProfile()
If the skull has an owner, per
SkullMeta.hasOwner() , return the owners PlayerProfile |
Modifier and Type | Method and Description |
---|---|
void |
SkullMeta.setPlayerProfile(@Nullable PlayerProfile profile)
Sets this skull to use the supplied Player Profile, which can include textures already prefilled.
|
Copyright © 2021. All rights reserved.