Class NullPlayer
java.lang.Object
us.talabrek.ultimateskyblock.uuid.NullPlayer
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
,org.bukkit.entity.AnimalTamer
,org.bukkit.OfflinePlayer
,org.bukkit.permissions.ServerOperator
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
@Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
@Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic) void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic, int amount) void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType) void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType, int amount) void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material) void
decrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int amount) org.bukkit.Location
long
@Nullable org.bukkit.Location
long
@Nullable org.bukkit.Location
getName()
org.bukkit.entity.Player
@NotNull org.bukkit.profile.PlayerProfile
@Nullable org.bukkit.Location
int
getStatistic
(@NotNull org.bukkit.Statistic statistic) int
getStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType) int
getStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material) boolean
void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic) void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic, int amount) void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType) void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType, int amount) void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material) void
incrementStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int amount) boolean
isBanned()
boolean
isOnline()
boolean
isOp()
boolean
void
setOp
(boolean b) void
setStatistic
(@NotNull org.bukkit.Statistic statistic, int newValue) void
setStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entityType, int newValue) void
setStatistic
(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int newValue) void
setWhitelisted
(boolean b)
-
Field Details
-
INSTANCE
-
-
Method Details
-
isOnline
public boolean isOnline()- Specified by:
isOnline
in interfaceorg.bukkit.OfflinePlayer
-
getName
- Specified by:
getName
in interfaceorg.bukkit.entity.AnimalTamer
- Specified by:
getName
in interfaceorg.bukkit.OfflinePlayer
-
getUniqueId
- Specified by:
getUniqueId
in interfaceorg.bukkit.entity.AnimalTamer
- Specified by:
getUniqueId
in interfaceorg.bukkit.OfflinePlayer
-
getPlayerProfile
@NotNull public @NotNull org.bukkit.profile.PlayerProfile getPlayerProfile()- Specified by:
getPlayerProfile
in interfaceorg.bukkit.OfflinePlayer
-
isBanned
public boolean isBanned()- Specified by:
isBanned
in interfaceorg.bukkit.OfflinePlayer
-
ban
@Nullable public @Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile> ban(@Nullable @Nullable String s, @Nullable @Nullable Date date, @Nullable @Nullable String s1) - Specified by:
ban
in interfaceorg.bukkit.OfflinePlayer
-
ban
@Nullable public @Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile> ban(@Nullable @Nullable String s, @Nullable @Nullable Instant instant, @Nullable @Nullable String s1) - Specified by:
ban
in interfaceorg.bukkit.OfflinePlayer
-
ban
@Nullable public @Nullable org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile> ban(@Nullable @Nullable String s, @Nullable @Nullable Duration duration, @Nullable @Nullable String s1) - Specified by:
ban
in interfaceorg.bukkit.OfflinePlayer
-
isWhitelisted
public boolean isWhitelisted()- Specified by:
isWhitelisted
in interfaceorg.bukkit.OfflinePlayer
-
setWhitelisted
public void setWhitelisted(boolean b) - Specified by:
setWhitelisted
in interfaceorg.bukkit.OfflinePlayer
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Specified by:
getPlayer
in interfaceorg.bukkit.OfflinePlayer
-
getFirstPlayed
public long getFirstPlayed()- Specified by:
getFirstPlayed
in interfaceorg.bukkit.OfflinePlayer
-
getLastPlayed
public long getLastPlayed()- Specified by:
getLastPlayed
in interfaceorg.bukkit.OfflinePlayer
-
hasPlayedBefore
public boolean hasPlayedBefore()- Specified by:
hasPlayedBefore
in interfaceorg.bukkit.OfflinePlayer
-
getBedSpawnLocation
public org.bukkit.Location getBedSpawnLocation()- Specified by:
getBedSpawnLocation
in interfaceorg.bukkit.OfflinePlayer
-
getRespawnLocation
@Nullable public @Nullable org.bukkit.Location getRespawnLocation()- Specified by:
getRespawnLocation
in interfaceorg.bukkit.OfflinePlayer
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic) throws IllegalArgumentException - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int amount) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int amount) throws IllegalArgumentException - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
setStatistic
public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int newValue) throws IllegalArgumentException - Specified by:
setStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
getStatistic
public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic) throws IllegalArgumentException - Specified by:
getStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material) throws IllegalArgumentException - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
getStatistic
public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material) throws IllegalArgumentException - Specified by:
getStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int amount) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int amount) throws IllegalArgumentException - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
setStatistic
public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int newValue) throws IllegalArgumentException - Specified by:
setStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType) throws IllegalArgumentException - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
getStatistic
public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType) throws IllegalArgumentException - Specified by:
getStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
incrementStatistic
public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType, int amount) throws IllegalArgumentException - Specified by:
incrementStatistic
in interfaceorg.bukkit.OfflinePlayer
- Throws:
IllegalArgumentException
-
decrementStatistic
public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType, int amount) - Specified by:
decrementStatistic
in interfaceorg.bukkit.OfflinePlayer
-
setStatistic
public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entityType, int newValue) - Specified by:
setStatistic
in interfaceorg.bukkit.OfflinePlayer
-
getLastDeathLocation
@Nullable public @Nullable org.bukkit.Location getLastDeathLocation()- Specified by:
getLastDeathLocation
in interfaceorg.bukkit.OfflinePlayer
-
getLocation
@Nullable public @Nullable org.bukkit.Location getLocation()- Specified by:
getLocation
in interfaceorg.bukkit.OfflinePlayer
-
serialize
- Specified by:
serialize
in interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
-
isOp
public boolean isOp()- Specified by:
isOp
in interfaceorg.bukkit.permissions.ServerOperator
-
setOp
public void setOp(boolean b) - Specified by:
setOp
in interfaceorg.bukkit.permissions.ServerOperator
-