Package | Description |
---|---|
com.destroystokyo.paper.event.profile | |
com.destroystokyo.paper.event.server | |
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 | Description |
---|---|---|
@NotNull PlayerProfile |
FillProfileEvent.getPlayerProfile() |
|
@NotNull PlayerProfile |
LookupProfileEvent.getPlayerProfile() |
|
@NotNull PlayerProfile |
PreFillProfileEvent.getPlayerProfile() |
|
@NotNull PlayerProfile |
ProfileWhitelistVerifyEvent.getPlayerProfile() |
Constructor | Description |
---|---|
FillProfileEvent(@NotNull PlayerProfile profile) |
|
LookupProfileEvent(@NotNull PlayerProfile profile) |
|
PreFillProfileEvent(@NotNull PlayerProfile profile) |
|
ProfileWhitelistVerifyEvent(@NotNull PlayerProfile profile,
boolean whitelistEnabled,
boolean whitelisted,
boolean isOp,
@Nullable String kickMessage) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull List<PlayerProfile> |
PaperServerListPingEvent.getPlayerSample() |
Returns a mutable list of
PlayerProfile that will be displayed
as online players on the client. |
Modifier and Type | Method | Description |
---|---|---|
static PlayerProfile |
Bukkit.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
|
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(@NotNull String name) |
Creates a PlayerProfile for the specified name, with UUID as null
|
PlayerProfile |
Server.createProfile(@NotNull UUID uuid) |
Creates a PlayerProfile for the specified uuid, with name as null
|
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 | Description |
---|---|---|
@Nullable PlayerProfile |
Skull.getPlayerProfile() |
If the skull has an owner, per
Skull.hasOwner() , return the owners PlayerProfile |
Modifier and Type | Method | 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 | Description |
---|---|---|
@NotNull PlayerProfile |
Player.getPlayerProfile() |
Gets a copy of this players profile
|
Modifier and Type | Method | Description |
---|---|---|
void |
Player.setPlayerProfile(@NotNull PlayerProfile profile) |
Changes the PlayerProfile for this player.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull PlayerProfile |
AsyncPlayerPreLoginEvent.getPlayerProfile() |
Gets the PlayerProfile of the player logging in
|
Modifier and Type | Method | Description |
---|---|---|
void |
AsyncPlayerPreLoginEvent.setPlayerProfile(@NotNull PlayerProfile profile) |
Constructor | Description |
---|---|
AsyncPlayerPreLoginEvent(@NotNull String name,
@NotNull InetAddress ipAddress,
@NotNull UUID uniqueId,
@NotNull PlayerProfile profile) |
Modifier and Type | Method | Description |
---|---|---|
@Nullable PlayerProfile |
SkullMeta.getPlayerProfile() |
If the skull has an owner, per
SkullMeta.hasOwner() , return the owners PlayerProfile |
Modifier and Type | Method | Description |
---|---|---|
void |
SkullMeta.setPlayerProfile(@Nullable PlayerProfile profile) |
Sets this skull to use the supplied Player Profile, which can include textures already prefilled.
|
Copyright © 2020. All rights reserved.