public class TemporarilyPrivilegedPlayer extends Object implements org.spongepowered.api.entity.living.player.Player
| Constructor and Description |
|---|
TemporarilyPrivilegedPlayer(org.spongepowered.api.entity.living.player.Player player) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addPassenger(org.spongepowered.api.entity.Entity entity) |
org.spongepowered.api.service.permission.SubjectReference |
asSubjectReference() |
boolean |
canEquip(org.spongepowered.api.item.inventory.equipment.EquipmentType type) |
boolean |
canEquip(org.spongepowered.api.item.inventory.equipment.EquipmentType type,
org.spongepowered.api.item.inventory.ItemStack equipment) |
boolean |
canSee(org.spongepowered.api.entity.Entity entity) |
void |
clearPassengers() |
void |
clearTitle() |
boolean |
closeInventory() |
org.spongepowered.api.data.DataHolder |
copy() |
org.spongepowered.api.data.DataTransactionResult |
copyFrom(org.spongepowered.api.data.DataHolder that) |
org.spongepowered.api.data.DataTransactionResult |
copyFrom(org.spongepowered.api.data.DataHolder that,
org.spongepowered.api.data.merge.MergeFunction function) |
org.spongepowered.api.entity.EntityArchetype |
createArchetype() |
org.spongepowered.api.entity.EntitySnapshot |
createSnapshot() |
boolean |
damage(double damage,
org.spongepowered.api.event.cause.entity.damage.source.DamageSource damageSource) |
boolean |
equip(org.spongepowered.api.item.inventory.equipment.EquipmentType type,
org.spongepowered.api.item.inventory.ItemStack equipment) |
org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> |
exhaustion() |
org.spongepowered.api.data.value.mutable.Value<Instant> |
firstPlayed() |
org.spongepowered.api.data.value.mutable.MutableBoundedValue<Integer> |
foodLevel() |
org.spongepowered.api.data.value.mutable.Value<org.spongepowered.api.entity.living.player.gamemode.GameMode> |
gameMode() |
<T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> |
get(Class<T> containerClass) |
<E> Optional<E> |
get(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key) |
Set<org.spongepowered.api.service.context.Context> |
getActiveContexts() |
Collection<org.spongepowered.api.data.Property<?,?>> |
getApplicableProperties() |
org.spongepowered.api.entity.Entity |
getBaseVehicle() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getBoots() |
Optional<org.spongepowered.api.util.AABB> |
getBoundingBox() |
org.spongepowered.api.text.chat.ChatVisibility |
getChatVisibility() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getChestplate() |
Optional<org.spongepowered.api.command.CommandSource> |
getCommandSource() |
org.spongepowered.api.network.PlayerConnection |
getConnection() |
Collection<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> |
getContainers() |
org.spongepowered.api.service.permission.SubjectCollection |
getContainingCollection() |
int |
getContentVersion() |
org.spongepowered.api.entity.living.player.CooldownTracker |
getCooldownTracker() |
Optional<UUID> |
getCreator() |
org.spongepowered.api.data.manipulator.mutable.entity.DamageableData |
getDamageableData() |
Set<org.spongepowered.api.data.type.SkinPart> |
getDisplayedSkinParts() |
org.spongepowered.api.data.manipulator.mutable.DisplayNameData |
getDisplayNameData() |
org.spongepowered.api.item.inventory.Inventory |
getEnderChestInventory() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getEquipped(org.spongepowered.api.item.inventory.equipment.EquipmentType type) |
org.spongepowered.api.data.manipulator.mutable.entity.FoodData |
getFoodData() |
Optional<String> |
getFriendlyIdentifier() |
org.spongepowered.api.data.manipulator.mutable.entity.GameModeData |
getGameModeData() |
com.flowpowered.math.vector.Vector3d |
getHeadRotation() |
org.spongepowered.api.data.manipulator.mutable.entity.HealthData |
getHealthData() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getHelmet() |
String |
getIdentifier() |
org.spongepowered.api.item.inventory.type.CarriedInventory<? extends org.spongepowered.api.item.inventory.Carrier> |
getInventory() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getItemInHand(org.spongepowered.api.data.type.HandType handType) |
org.spongepowered.api.data.manipulator.mutable.entity.JoinData |
getJoinData() |
Set<org.spongepowered.api.data.key.Key<?>> |
getKeys() |
Optional<org.spongepowered.api.item.inventory.ItemStack> |
getLeggings() |
Locale |
getLocale() |
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation() |
org.spongepowered.api.text.channel.MessageChannel |
getMessageChannel() |
String |
getName() |
Collection<org.spongepowered.api.entity.Entity> |
getNearbyEntities(double distance) |
Collection<org.spongepowered.api.entity.Entity> |
getNearbyEntities(Predicate<org.spongepowered.api.entity.Entity> predicate) |
Optional<UUID> |
getNotifier() |
Optional<org.spongepowered.api.item.inventory.Container> |
getOpenInventory() |
Optional<String> |
getOption(Set<org.spongepowered.api.service.context.Context> contexts,
String key) |
Optional<String> |
getOption(String key) |
<T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> |
getOrCreate(Class<T> containerClass) |
<E> E |
getOrElse(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E defaultValue) |
<E> E |
getOrNull(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key) |
List<org.spongepowered.api.service.permission.SubjectReference> |
getParents() |
List<org.spongepowered.api.service.permission.SubjectReference> |
getParents(Set<org.spongepowered.api.service.context.Context> contexts) |
List<org.spongepowered.api.entity.Entity> |
getPassengers() |
org.spongepowered.api.util.Tristate |
getPermissionValue(Set<org.spongepowered.api.service.context.Context> contexts,
String permission) |
Optional<org.spongepowered.api.entity.living.player.Player> |
getPlayer() |
com.flowpowered.math.vector.Vector3d |
getPosition() |
org.spongepowered.api.profile.GameProfile |
getProfile() |
org.spongepowered.api.advancement.AdvancementProgress |
getProgress(org.spongepowered.api.advancement.Advancement advancement) |
<T extends org.spongepowered.api.data.Property<?,?>> |
getProperty(Class<T> propertyClass) |
Random |
getRandom() |
com.flowpowered.math.vector.Vector3d |
getRotation() |
com.flowpowered.math.vector.Vector3d |
getScale() |
org.spongepowered.api.scoreboard.Scoreboard |
getScoreboard() |
Optional<org.spongepowered.api.entity.Entity> |
getSpectatorTarget() |
org.spongepowered.api.data.manipulator.mutable.entity.StatisticData |
getStatisticData() |
org.spongepowered.api.service.permission.SubjectData |
getSubjectData() |
org.spongepowered.api.entity.living.player.tab.TabList |
getTabList() |
org.spongepowered.api.text.Text |
getTeamRepresentation() |
org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> |
getTransform() |
org.spongepowered.api.service.permission.SubjectData |
getTransientSubjectData() |
org.spongepowered.api.text.translation.Translation |
getTranslation() |
org.spongepowered.api.entity.EntityType |
getType() |
UUID |
getUniqueId() |
Collection<org.spongepowered.api.advancement.AdvancementTree> |
getUnlockedAdvancementTrees() |
<E,V extends org.spongepowered.api.data.value.BaseValue<E>> |
getValue(org.spongepowered.api.data.key.Key<V> key) |
Set<org.spongepowered.api.data.value.immutable.ImmutableValue<?>> |
getValues() |
Optional<org.spongepowered.api.entity.Entity> |
getVehicle() |
com.flowpowered.math.vector.Vector3d |
getVelocity() |
int |
getViewDistance() |
org.spongepowered.api.world.World |
getWorld() |
Optional<org.spongepowered.api.world.WorldBorder> |
getWorldBorder() |
Optional<UUID> |
getWorldUniqueId() |
org.spongepowered.api.data.value.mutable.Value<Boolean> |
gravity() |
boolean |
hasPassenger(org.spongepowered.api.entity.Entity entity) |
boolean |
hasPermission(Set<org.spongepowered.api.service.context.Context> contexts,
String permission) |
boolean |
hasPermission(String permission) |
boolean |
hasPlayedBefore() |
org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> |
health() |
boolean |
isChatColorsEnabled() |
boolean |
isChildOf(Set<org.spongepowered.api.service.context.Context> contexts,
org.spongepowered.api.service.permission.SubjectReference parent) |
boolean |
isChildOf(org.spongepowered.api.service.permission.SubjectReference parent) |
boolean |
isLoaded() |
boolean |
isOnGround() |
boolean |
isOnline() |
boolean |
isRemoved() |
boolean |
isSleepingIgnored() |
boolean |
isSubjectDataPersisted() |
boolean |
isViewingInventory() |
void |
kick() |
void |
kick(org.spongepowered.api.text.Text reason) |
org.spongepowered.api.data.value.mutable.OptionalValue<org.spongepowered.api.entity.EntitySnapshot> |
lastAttacker() |
org.spongepowered.api.data.value.mutable.OptionalValue<Double> |
lastDamage() |
org.spongepowered.api.data.value.mutable.Value<Instant> |
lastPlayed() |
<T extends org.spongepowered.api.entity.projectile.Projectile> |
launchProjectile(Class<T> projectileClass) |
<T extends org.spongepowered.api.entity.projectile.Projectile> |
launchProjectile(Class<T> projectileClass,
com.flowpowered.math.vector.Vector3d velocity) |
void |
lookAt(com.flowpowered.math.vector.Vector3d targetPos) |
org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> |
maxHealth() |
<E> org.spongepowered.api.data.DataTransactionResult |
offer(org.spongepowered.api.data.value.BaseValue<E> value) |
org.spongepowered.api.data.DataTransactionResult |
offer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer) |
org.spongepowered.api.data.DataTransactionResult |
offer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer,
org.spongepowered.api.data.merge.MergeFunction function) |
org.spongepowered.api.data.DataTransactionResult |
offer(Iterable<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> valueContainers) |
org.spongepowered.api.data.DataTransactionResult |
offer(Iterable<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> valueContainers,
org.spongepowered.api.data.merge.MergeFunction function) |
<E> org.spongepowered.api.data.DataTransactionResult |
offer(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E value) |
Optional<org.spongepowered.api.item.inventory.Container> |
openInventory(org.spongepowered.api.item.inventory.Inventory inventory) |
Optional<org.spongepowered.api.item.inventory.Container> |
openInventory(org.spongepowered.api.item.inventory.Inventory inventory,
org.spongepowered.api.text.Text displayName) |
void |
playRecord(com.flowpowered.math.vector.Vector3i position,
org.spongepowered.api.effect.sound.record.RecordType recordType) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch,
double minVolume) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch) |
void |
playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch,
double minVolume) |
void |
remove() |
org.spongepowered.api.data.DataTransactionResult |
remove(org.spongepowered.api.data.value.BaseValue<?> value) |
org.spongepowered.api.data.DataTransactionResult |
remove(Class<? extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> containerClass) |
org.spongepowered.api.data.DataTransactionResult |
remove(org.spongepowered.api.data.key.Key<?> key) |
void |
removePassenger(org.spongepowered.api.entity.Entity entity) |
<T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> |
require(Class<T> containerClass) |
<E> E |
require(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key) |
void |
resetBlockChange(int x,
int y,
int z) |
void |
resetBlockChange(com.flowpowered.math.vector.Vector3i vec) |
void |
resetTitle() |
boolean |
respawnPlayer() |
org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> |
saturation() |
void |
sendBlockChange(int x,
int y,
int z,
org.spongepowered.api.block.BlockState state) |
void |
sendBlockChange(com.flowpowered.math.vector.Vector3i vec,
org.spongepowered.api.block.BlockState state) |
void |
sendBookView(org.spongepowered.api.text.BookView bookView) |
void |
sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.Text message) |
void |
sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.TextTemplate template) |
void |
sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.TextTemplate template,
Map<String,org.spongepowered.api.text.TextElement> parameters) |
void |
sendMessage(org.spongepowered.api.text.Text message) |
void |
sendMessage(org.spongepowered.api.text.TextTemplate template) |
void |
sendMessage(org.spongepowered.api.text.TextTemplate template,
Map<String,org.spongepowered.api.text.TextElement> parameters) |
void |
sendMessages(org.spongepowered.api.text.chat.ChatType type,
Iterable<org.spongepowered.api.text.Text> messages) |
void |
sendMessages(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.Text... messages) |
void |
sendMessages(Iterable<org.spongepowered.api.text.Text> messages) |
void |
sendMessages(org.spongepowered.api.text.Text... messages) |
void |
sendResourcePack(org.spongepowered.api.resourcepack.ResourcePack pack) |
void |
sendTitle(org.spongepowered.api.text.title.Title title) |
void |
setBoots(org.spongepowered.api.item.inventory.ItemStack boots) |
void |
setChestplate(org.spongepowered.api.item.inventory.ItemStack chestplate) |
void |
setCreator(UUID uuid) |
void |
setHeadRotation(com.flowpowered.math.vector.Vector3d rotation) |
void |
setHelmet(org.spongepowered.api.item.inventory.ItemStack helmet) |
void |
setItemInHand(org.spongepowered.api.data.type.HandType hand,
org.spongepowered.api.item.inventory.ItemStack itemInHand) |
void |
setLeggings(org.spongepowered.api.item.inventory.ItemStack leggings) |
boolean |
setLocation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location) |
boolean |
setLocation(com.flowpowered.math.vector.Vector3d position,
UUID world) |
boolean |
setLocationAndRotation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation) |
boolean |
setLocationAndRotation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation,
EnumSet<org.spongepowered.api.util.RelativePositions> relativePositions) |
boolean |
setLocationAndRotationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation) |
boolean |
setLocationAndRotationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation,
EnumSet<org.spongepowered.api.util.RelativePositions> relativePositions) |
boolean |
setLocationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location) |
void |
setMessageChannel(org.spongepowered.api.text.channel.MessageChannel channel) |
void |
setNotifier(UUID uuid) |
void |
setRawData(org.spongepowered.api.data.DataView container) |
void |
setRotation(com.flowpowered.math.vector.Vector3d rotation) |
void |
setScale(com.flowpowered.math.vector.Vector3d scale) |
void |
setScoreboard(org.spongepowered.api.scoreboard.Scoreboard scoreboard) |
void |
setSleepingIgnored(boolean sleepingIgnored) |
void |
setSpectatorTarget(org.spongepowered.api.entity.Entity entity) |
boolean |
setTransform(org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> transform) |
boolean |
setTransformSafely(org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> transform) |
boolean |
setVehicle(org.spongepowered.api.entity.Entity entity) |
org.spongepowered.api.data.DataTransactionResult |
setVelocity(com.flowpowered.math.vector.Vector3d vector3d) |
void |
setWorldBorder(org.spongepowered.api.world.WorldBorder border,
org.spongepowered.api.event.cause.Cause cause) |
org.spongepowered.api.event.message.MessageChannelEvent.Chat |
simulateChat(org.spongepowered.api.text.Text message,
org.spongepowered.api.event.cause.Cause cause) |
void |
spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position) |
void |
spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position,
int radius) |
void |
stopRecord(com.flowpowered.math.vector.Vector3i position) |
void |
stopSounds() |
void |
stopSounds(org.spongepowered.api.effect.sound.SoundCategory category) |
void |
stopSounds(org.spongepowered.api.effect.sound.SoundType sound) |
void |
stopSounds(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category) |
boolean |
supports(org.spongepowered.api.data.value.BaseValue<?> baseValue) |
boolean |
supports(Class<? extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> holderClass) |
boolean |
supports(org.spongepowered.api.data.key.Key<?> key) |
org.spongepowered.api.data.DataContainer |
toContainer() |
boolean |
transferToWorld(String worldName,
com.flowpowered.math.vector.Vector3d position) |
boolean |
transferToWorld(UUID uuid,
com.flowpowered.math.vector.Vector3d position) |
boolean |
transferToWorld(org.spongepowered.api.world.World world) |
boolean |
transferToWorld(org.spongepowered.api.world.World world,
com.flowpowered.math.vector.Vector3d position) |
<E> org.spongepowered.api.data.DataTransactionResult |
transform(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
Function<E,E> function) |
<E> org.spongepowered.api.data.DataTransactionResult |
tryOffer(org.spongepowered.api.data.value.BaseValue<E> value) |
org.spongepowered.api.data.DataTransactionResult |
tryOffer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer) |
org.spongepowered.api.data.DataTransactionResult |
tryOffer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer,
org.spongepowered.api.data.merge.MergeFunction function) |
<E> org.spongepowered.api.data.DataTransactionResult |
tryOffer(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E value) |
org.spongepowered.api.data.DataTransactionResult |
undo(org.spongepowered.api.data.DataTransactionResult result) |
boolean |
validateRawData(org.spongepowered.api.data.DataView container) |
public TemporarilyPrivilegedPlayer(org.spongepowered.api.entity.living.player.Player player)
public org.spongepowered.api.world.Location<org.spongepowered.api.world.World> getLocation()
getLocation in interface org.spongepowered.api.world.Locatablepublic org.spongepowered.api.text.translation.Translation getTranslation()
getTranslation in interface org.spongepowered.api.text.translation.Translatablepublic UUID getUniqueId()
getUniqueId in interface org.spongepowered.api.util.Identifiablepublic <T extends org.spongepowered.api.data.Property<?,?>> Optional<T> getProperty(Class<T> propertyClass)
getProperty in interface org.spongepowered.api.data.property.PropertyHolderpublic String getName()
getName in interface org.spongepowered.api.command.CommandSourcegetName in interface org.spongepowered.api.entity.living.player.UsergetName in interface org.spongepowered.api.entity.Tamerpublic org.spongepowered.api.item.inventory.type.CarriedInventory<? extends org.spongepowered.api.item.inventory.Carrier> getInventory()
getInventory in interface org.spongepowered.api.item.inventory.Carrierpublic org.spongepowered.api.world.World getWorld()
getWorld in interface org.spongepowered.api.world.Locatablepublic String getIdentifier()
getIdentifier in interface org.spongepowered.api.service.context.Contextualpublic <T extends org.spongepowered.api.entity.projectile.Projectile> Optional<T> launchProjectile(Class<T> projectileClass)
launchProjectile in interface org.spongepowered.api.entity.projectile.source.ProjectileSourcepublic void sendMessage(org.spongepowered.api.text.Text message)
sendMessage in interface org.spongepowered.api.text.channel.MessageReceiverpublic int getContentVersion()
getContentVersion in interface org.spongepowered.api.data.DataSerializablepublic boolean canEquip(org.spongepowered.api.item.inventory.equipment.EquipmentType type)
canEquip in interface org.spongepowered.api.entity.Equipablepublic void sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.Text message)
sendMessage in interface org.spongepowered.api.text.channel.ChatTypeMessageReceiverpublic boolean validateRawData(org.spongepowered.api.data.DataView container)
validateRawData in interface org.spongepowered.api.data.DataHolderpublic org.spongepowered.api.data.manipulator.mutable.entity.FoodData getFoodData()
getFoodData in interface org.spongepowered.api.entity.living.Humanoidpublic void sendMessage(org.spongepowered.api.text.TextTemplate template)
sendMessage in interface org.spongepowered.api.text.channel.MessageReceiverpublic Locale getLocale()
getLocale in interface org.spongepowered.api.command.CommandSourcepublic org.spongepowered.api.profile.GameProfile getProfile()
getProfile in interface org.spongepowered.api.entity.living.player.Userpublic <T extends org.spongepowered.api.entity.projectile.Projectile> Optional<T> launchProjectile(Class<T> projectileClass, com.flowpowered.math.vector.Vector3d velocity)
launchProjectile in interface org.spongepowered.api.entity.projectile.source.ProjectileSourcepublic Optional<String> getFriendlyIdentifier()
getFriendlyIdentifier in interface org.spongepowered.api.service.context.Contextualpublic org.spongepowered.api.text.Text getTeamRepresentation()
getTeamRepresentation in interface org.spongepowered.api.scoreboard.TeamMemberpublic Optional<org.spongepowered.api.item.inventory.ItemStack> getHelmet()
getHelmet in interface org.spongepowered.api.entity.ArmorEquipablepublic boolean canEquip(org.spongepowered.api.item.inventory.equipment.EquipmentType type,
org.spongepowered.api.item.inventory.ItemStack equipment)
canEquip in interface org.spongepowered.api.entity.Equipablepublic void sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.TextTemplate template)
sendMessage in interface org.spongepowered.api.text.channel.ChatTypeMessageReceiverpublic void spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position)
spawnParticles in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.data.value.mutable.MutableBoundedValue<Integer> foodLevel()
foodLevel in interface org.spongepowered.api.entity.living.Humanoidpublic Collection<org.spongepowered.api.data.Property<?,?>> getApplicableProperties()
getApplicableProperties in interface org.spongepowered.api.data.property.PropertyHolderpublic boolean isOnline()
isOnline in interface org.spongepowered.api.entity.living.player.Userpublic <T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> Optional<T> get(Class<T> containerClass)
get in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public org.spongepowered.api.data.DataContainer toContainer()
toContainer in interface org.spongepowered.api.data.DataSerializablepublic void sendMessage(org.spongepowered.api.text.TextTemplate template,
Map<String,org.spongepowered.api.text.TextElement> parameters)
sendMessage in interface org.spongepowered.api.text.channel.MessageReceiverpublic void setRawData(org.spongepowered.api.data.DataView container)
throws org.spongepowered.api.data.persistence.InvalidDataException
setRawData in interface org.spongepowered.api.data.DataHolderorg.spongepowered.api.data.persistence.InvalidDataExceptionpublic void setHelmet(org.spongepowered.api.item.inventory.ItemStack helmet)
setHelmet in interface org.spongepowered.api.entity.ArmorEquipablepublic org.spongepowered.api.data.manipulator.mutable.entity.HealthData getHealthData()
getHealthData in interface org.spongepowered.api.entity.living.Livingpublic Optional<org.spongepowered.api.entity.living.player.Player> getPlayer()
getPlayer in interface org.spongepowered.api.entity.living.player.Userpublic void spawnParticles(org.spongepowered.api.effect.particle.ParticleEffect particleEffect,
com.flowpowered.math.vector.Vector3d position,
int radius)
spawnParticles in interface org.spongepowered.api.effect.Viewerpublic Optional<org.spongepowered.api.item.inventory.ItemStack> getEquipped(org.spongepowered.api.item.inventory.equipment.EquipmentType type)
getEquipped in interface org.spongepowered.api.entity.Equipablepublic Set<org.spongepowered.api.service.context.Context> getActiveContexts()
getActiveContexts in interface org.spongepowered.api.service.context.Contextualpublic org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> exhaustion()
exhaustion in interface org.spongepowered.api.entity.living.Humanoidpublic org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> health()
health in interface org.spongepowered.api.entity.living.Livingpublic org.spongepowered.api.data.manipulator.mutable.entity.StatisticData getStatisticData()
getStatisticData in interface org.spongepowered.api.entity.living.player.Userpublic void sendMessage(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.TextTemplate template,
Map<String,org.spongepowered.api.text.TextElement> parameters)
sendMessage in interface org.spongepowered.api.text.channel.ChatTypeMessageReceiverpublic Optional<org.spongepowered.api.item.inventory.ItemStack> getChestplate()
getChestplate in interface org.spongepowered.api.entity.ArmorEquipablepublic <E> Optional<E> get(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key)
get in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public boolean equip(org.spongepowered.api.item.inventory.equipment.EquipmentType type,
org.spongepowered.api.item.inventory.ItemStack equipment)
equip in interface org.spongepowered.api.entity.Equipablepublic void sendMessages(org.spongepowered.api.text.Text... messages)
sendMessages in interface org.spongepowered.api.text.channel.MessageReceiverpublic org.spongepowered.api.entity.EntityType getType()
getType in interface org.spongepowered.api.entity.Entitypublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume)
playSound in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.entity.EntitySnapshot createSnapshot()
createSnapshot in interface org.spongepowered.api.entity.Entitypublic void setChestplate(org.spongepowered.api.item.inventory.ItemStack chestplate)
setChestplate in interface org.spongepowered.api.entity.ArmorEquipablepublic org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> maxHealth()
maxHealth in interface org.spongepowered.api.entity.living.Livingpublic org.spongepowered.api.data.value.mutable.MutableBoundedValue<Double> saturation()
saturation in interface org.spongepowered.api.entity.living.Humanoidpublic Random getRandom()
getRandom in interface org.spongepowered.api.entity.Entitypublic void sendMessages(Iterable<org.spongepowered.api.text.Text> messages)
sendMessages in interface org.spongepowered.api.text.channel.MessageReceiverpublic <E> E require(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key)
require in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public void sendMessages(org.spongepowered.api.text.chat.ChatType type,
org.spongepowered.api.text.Text... messages)
sendMessages in interface org.spongepowered.api.text.channel.ChatTypeMessageReceiverpublic boolean setLocation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location)
setLocation in interface org.spongepowered.api.entity.Entitypublic Optional<org.spongepowered.api.item.inventory.ItemStack> getLeggings()
getLeggings in interface org.spongepowered.api.entity.ArmorEquipablepublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume)
playSound in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.data.manipulator.mutable.entity.DamageableData getDamageableData()
getDamageableData in interface org.spongepowered.api.entity.living.Livingpublic org.spongepowered.api.text.channel.MessageChannel getMessageChannel()
getMessageChannel in interface org.spongepowered.api.text.channel.MessageReceiverpublic boolean isViewingInventory()
isViewingInventory in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.data.value.mutable.OptionalValue<org.spongepowered.api.entity.EntitySnapshot> lastAttacker()
lastAttacker in interface org.spongepowered.api.entity.living.Livingpublic void sendMessages(org.spongepowered.api.text.chat.ChatType type,
Iterable<org.spongepowered.api.text.Text> messages)
sendMessages in interface org.spongepowered.api.text.channel.ChatTypeMessageReceiverpublic void setLeggings(org.spongepowered.api.item.inventory.ItemStack leggings)
setLeggings in interface org.spongepowered.api.entity.ArmorEquipablepublic boolean setLocationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location)
setLocationSafely in interface org.spongepowered.api.entity.Entitypublic void setMessageChannel(org.spongepowered.api.text.channel.MessageChannel channel)
setMessageChannel in interface org.spongepowered.api.text.channel.MessageReceiverpublic Optional<org.spongepowered.api.item.inventory.Container> getOpenInventory()
getOpenInventory in interface org.spongepowered.api.entity.living.player.Playerpublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch)
playSound in interface org.spongepowered.api.effect.Viewerpublic <E> E getOrNull(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key)
getOrNull in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public org.spongepowered.api.data.value.mutable.OptionalValue<Double> lastDamage()
lastDamage in interface org.spongepowered.api.entity.living.Livingpublic Optional<org.spongepowered.api.command.CommandSource> getCommandSource()
getCommandSource in interface org.spongepowered.api.service.permission.Subjectpublic Optional<org.spongepowered.api.item.inventory.ItemStack> getBoots()
getBoots in interface org.spongepowered.api.entity.ArmorEquipablepublic Optional<org.spongepowered.api.item.inventory.Container> openInventory(org.spongepowered.api.item.inventory.Inventory inventory) throws IllegalArgumentException
openInventory in interface org.spongepowered.api.entity.living.player.PlayerIllegalArgumentExceptionpublic com.flowpowered.math.vector.Vector3d getHeadRotation()
getHeadRotation in interface org.spongepowered.api.entity.living.Livingpublic <T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> T require(Class<T> containerClass)
require in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public void setBoots(org.spongepowered.api.item.inventory.ItemStack boots)
setBoots in interface org.spongepowered.api.entity.ArmorEquipablepublic com.flowpowered.math.vector.Vector3d getRotation()
getRotation in interface org.spongepowered.api.entity.EntitygetRotation in interface org.spongepowered.api.entity.living.player.Userpublic boolean closeInventory()
throws IllegalArgumentException
closeInventory in interface org.spongepowered.api.entity.living.player.PlayerIllegalArgumentExceptionpublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch)
playSound in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.service.permission.SubjectCollection getContainingCollection()
getContainingCollection in interface org.spongepowered.api.service.permission.Subjectpublic <E> E getOrElse(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E defaultValue)
getOrElse in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public void setRotation(com.flowpowered.math.vector.Vector3d rotation)
setRotation in interface org.spongepowered.api.entity.EntitysetRotation in interface org.spongepowered.api.entity.living.player.Userpublic void setHeadRotation(com.flowpowered.math.vector.Vector3d rotation)
setHeadRotation in interface org.spongepowered.api.entity.living.Livingpublic org.spongepowered.api.service.permission.SubjectReference asSubjectReference()
asSubjectReference in interface org.spongepowered.api.service.permission.Subjectpublic Optional<org.spongepowered.api.item.inventory.ItemStack> getItemInHand(org.spongepowered.api.data.type.HandType handType)
getItemInHand in interface org.spongepowered.api.entity.ArmorEquipablepublic int getViewDistance()
getViewDistance in interface org.spongepowered.api.entity.living.player.Playerpublic boolean isSubjectDataPersisted()
isSubjectDataPersisted in interface org.spongepowered.api.service.permission.Subjectpublic boolean setLocationAndRotation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation)
setLocationAndRotation in interface org.spongepowered.api.entity.Entitypublic <T extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> Optional<T> getOrCreate(Class<T> containerClass)
getOrCreate in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public org.spongepowered.api.text.chat.ChatVisibility getChatVisibility()
getChatVisibility in interface org.spongepowered.api.entity.living.player.Playerpublic void setItemInHand(org.spongepowered.api.data.type.HandType hand,
org.spongepowered.api.item.inventory.ItemStack itemInHand)
setItemInHand in interface org.spongepowered.api.entity.ArmorEquipablepublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch,
double minVolume)
playSound in interface org.spongepowered.api.effect.Viewerpublic <E,V extends org.spongepowered.api.data.value.BaseValue<E>> Optional<V> getValue(org.spongepowered.api.data.key.Key<V> key)
getValue in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public void lookAt(com.flowpowered.math.vector.Vector3d targetPos)
lookAt in interface org.spongepowered.api.entity.living.Livingpublic boolean isChatColorsEnabled()
isChatColorsEnabled in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.event.message.MessageChannelEvent.Chat simulateChat(org.spongepowered.api.text.Text message,
org.spongepowered.api.event.cause.Cause cause)
simulateChat in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.service.permission.SubjectData getSubjectData()
getSubjectData in interface org.spongepowered.api.service.permission.Subjectpublic boolean supports(org.spongepowered.api.data.key.Key<?> key)
supports in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public boolean setLocationAndRotation(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation,
EnumSet<org.spongepowered.api.util.RelativePositions> relativePositions)
setLocationAndRotation in interface org.spongepowered.api.entity.Entitypublic boolean supports(org.spongepowered.api.data.value.BaseValue<?> baseValue)
supports in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public org.spongepowered.api.service.permission.SubjectData getTransientSubjectData()
getTransientSubjectData in interface org.spongepowered.api.service.permission.Subjectpublic void playSound(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category,
com.flowpowered.math.vector.Vector3d position,
double volume,
double pitch,
double minVolume)
playSound in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.data.DataHolder copy()
copy in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public Set<org.spongepowered.api.data.type.SkinPart> getDisplayedSkinParts()
getDisplayedSkinParts in interface org.spongepowered.api.entity.living.player.Playerpublic boolean hasPermission(Set<org.spongepowered.api.service.context.Context> contexts, String permission)
hasPermission in interface org.spongepowered.api.service.permission.Subjectpublic Set<org.spongepowered.api.data.key.Key<?>> getKeys()
getKeys in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public org.spongepowered.api.network.PlayerConnection getConnection()
getConnection in interface org.spongepowered.api.command.source.RemoteSourcegetConnection in interface org.spongepowered.api.entity.living.player.Playerpublic boolean setLocationAndRotationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation)
setLocationAndRotationSafely in interface org.spongepowered.api.entity.Entitypublic void sendResourcePack(org.spongepowered.api.resourcepack.ResourcePack pack)
sendResourcePack in interface org.spongepowered.api.entity.living.player.Playerpublic Set<org.spongepowered.api.data.value.immutable.ImmutableValue<?>> getValues()
getValues in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.DataHolder>public void stopSounds()
stopSounds in interface org.spongepowered.api.effect.Viewerpublic void stopSounds(org.spongepowered.api.effect.sound.SoundType sound)
stopSounds in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.entity.living.player.tab.TabList getTabList()
getTabList in interface org.spongepowered.api.entity.living.player.Playerpublic boolean hasPermission(String permission)
hasPermission in interface org.spongepowered.api.service.permission.Subjectpublic void kick()
kick in interface org.spongepowered.api.entity.living.player.Playerpublic void stopSounds(org.spongepowered.api.effect.sound.SoundCategory category)
stopSounds in interface org.spongepowered.api.effect.Viewerpublic void kick(org.spongepowered.api.text.Text reason)
kick in interface org.spongepowered.api.entity.living.player.Playerpublic void stopSounds(org.spongepowered.api.effect.sound.SoundType sound,
org.spongepowered.api.effect.sound.SoundCategory category)
stopSounds in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.scoreboard.Scoreboard getScoreboard()
getScoreboard in interface org.spongepowered.api.entity.living.player.Playerpublic void setScoreboard(org.spongepowered.api.scoreboard.Scoreboard scoreboard)
setScoreboard in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.util.Tristate getPermissionValue(Set<org.spongepowered.api.service.context.Context> contexts, String permission)
getPermissionValue in interface org.spongepowered.api.service.permission.Subjectpublic void playRecord(com.flowpowered.math.vector.Vector3i position,
org.spongepowered.api.effect.sound.record.RecordType recordType)
playRecord in interface org.spongepowered.api.effect.Viewerpublic boolean supports(Class<? extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> holderClass)
supports in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public boolean setLocationAndRotationSafely(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location,
com.flowpowered.math.vector.Vector3d rotation,
EnumSet<org.spongepowered.api.util.RelativePositions> relativePositions)
setLocationAndRotationSafely in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.manipulator.mutable.entity.JoinData getJoinData()
getJoinData in interface org.spongepowered.api.entity.living.player.Playerpublic <E> org.spongepowered.api.data.DataTransactionResult transform(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
Function<E,E> function)
transform in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public void stopRecord(com.flowpowered.math.vector.Vector3i position)
stopRecord in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.data.value.mutable.Value<Instant> firstPlayed()
firstPlayed in interface org.spongepowered.api.entity.living.player.Playerpublic void sendTitle(org.spongepowered.api.text.title.Title title)
sendTitle in interface org.spongepowered.api.effect.Viewerpublic void resetTitle()
resetTitle in interface org.spongepowered.api.effect.Viewerpublic boolean isChildOf(org.spongepowered.api.service.permission.SubjectReference parent)
isChildOf in interface org.spongepowered.api.service.permission.Subjectpublic org.spongepowered.api.data.value.mutable.Value<Instant> lastPlayed()
lastPlayed in interface org.spongepowered.api.entity.living.player.Playerpublic void clearTitle()
clearTitle in interface org.spongepowered.api.effect.Viewerpublic void sendBookView(org.spongepowered.api.text.BookView bookView)
sendBookView in interface org.spongepowered.api.effect.Viewerpublic boolean hasPlayedBefore()
hasPlayedBefore in interface org.spongepowered.api.entity.living.player.Playerpublic com.flowpowered.math.vector.Vector3d getScale()
getScale in interface org.spongepowered.api.entity.Entitypublic <E> org.spongepowered.api.data.DataTransactionResult offer(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E value)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public void sendBlockChange(com.flowpowered.math.vector.Vector3i vec,
org.spongepowered.api.block.BlockState state)
sendBlockChange in interface org.spongepowered.api.effect.Viewerpublic boolean isChildOf(Set<org.spongepowered.api.service.context.Context> contexts, org.spongepowered.api.service.permission.SubjectReference parent)
isChildOf in interface org.spongepowered.api.service.permission.Subjectpublic void setScale(com.flowpowered.math.vector.Vector3d scale)
setScale in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.manipulator.mutable.DisplayNameData getDisplayNameData()
getDisplayNameData in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> getTransform()
getTransform in interface org.spongepowered.api.entity.Entitypublic void sendBlockChange(int x,
int y,
int z,
org.spongepowered.api.block.BlockState state)
sendBlockChange in interface org.spongepowered.api.effect.Viewerpublic org.spongepowered.api.data.manipulator.mutable.entity.GameModeData getGameModeData()
getGameModeData in interface org.spongepowered.api.entity.living.player.Playerpublic boolean setTransform(org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> transform)
setTransform in interface org.spongepowered.api.entity.Entitypublic <E> org.spongepowered.api.data.DataTransactionResult tryOffer(org.spongepowered.api.data.key.Key<? extends org.spongepowered.api.data.value.BaseValue<E>> key,
E value)
throws IllegalArgumentException
tryOffer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>IllegalArgumentExceptionpublic org.spongepowered.api.data.value.mutable.Value<org.spongepowered.api.entity.living.player.gamemode.GameMode> gameMode()
gameMode in interface org.spongepowered.api.entity.living.player.Playerpublic void resetBlockChange(com.flowpowered.math.vector.Vector3i vec)
resetBlockChange in interface org.spongepowered.api.effect.Viewerpublic List<org.spongepowered.api.service.permission.SubjectReference> getParents()
getParents in interface org.spongepowered.api.service.permission.Subjectpublic boolean setTransformSafely(org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World> transform)
setTransformSafely in interface org.spongepowered.api.entity.Entitypublic boolean isSleepingIgnored()
isSleepingIgnored in interface org.spongepowered.api.entity.living.player.Playerpublic void resetBlockChange(int x,
int y,
int z)
resetBlockChange in interface org.spongepowered.api.effect.Viewerpublic void setSleepingIgnored(boolean sleepingIgnored)
setSleepingIgnored in interface org.spongepowered.api.entity.living.player.Playerpublic List<org.spongepowered.api.service.permission.SubjectReference> getParents(Set<org.spongepowered.api.service.context.Context> contexts)
getParents in interface org.spongepowered.api.service.permission.Subjectpublic <E> org.spongepowered.api.data.DataTransactionResult offer(org.spongepowered.api.data.value.BaseValue<E> value)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public boolean transferToWorld(org.spongepowered.api.world.World world)
transferToWorld in interface org.spongepowered.api.entity.Entitypublic Optional<String> getOption(Set<org.spongepowered.api.service.context.Context> contexts, String key)
getOption in interface org.spongepowered.api.service.permission.Subjectpublic org.spongepowered.api.item.inventory.Inventory getEnderChestInventory()
getEnderChestInventory in interface org.spongepowered.api.entity.living.player.PlayergetEnderChestInventory in interface org.spongepowered.api.entity.living.player.Userpublic boolean respawnPlayer()
respawnPlayer in interface org.spongepowered.api.entity.living.player.Playerpublic <E> org.spongepowered.api.data.DataTransactionResult tryOffer(org.spongepowered.api.data.value.BaseValue<E> value)
throws IllegalArgumentException
tryOffer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>IllegalArgumentExceptionpublic boolean transferToWorld(org.spongepowered.api.world.World world,
com.flowpowered.math.vector.Vector3d position)
transferToWorld in interface org.spongepowered.api.entity.Entitypublic Optional<org.spongepowered.api.entity.Entity> getSpectatorTarget()
getSpectatorTarget in interface org.spongepowered.api.entity.living.player.Playerpublic Optional<String> getOption(String key)
getOption in interface org.spongepowered.api.service.permission.Subjectpublic void setSpectatorTarget(org.spongepowered.api.entity.Entity entity)
setSpectatorTarget in interface org.spongepowered.api.entity.living.player.Playerpublic boolean transferToWorld(String worldName, com.flowpowered.math.vector.Vector3d position)
transferToWorld in interface org.spongepowered.api.entity.Entitypublic Optional<org.spongepowered.api.world.WorldBorder> getWorldBorder()
getWorldBorder in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.data.DataTransactionResult offer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public void setWorldBorder(org.spongepowered.api.world.WorldBorder border,
org.spongepowered.api.event.cause.Cause cause)
setWorldBorder in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.entity.living.player.CooldownTracker getCooldownTracker()
getCooldownTracker in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.data.DataTransactionResult offer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer,
org.spongepowered.api.data.merge.MergeFunction function)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public org.spongepowered.api.advancement.AdvancementProgress getProgress(org.spongepowered.api.advancement.Advancement advancement)
getProgress in interface org.spongepowered.api.entity.living.player.Playerpublic boolean transferToWorld(UUID uuid, com.flowpowered.math.vector.Vector3d position)
transferToWorld in interface org.spongepowered.api.entity.Entitypublic Collection<org.spongepowered.api.advancement.AdvancementTree> getUnlockedAdvancementTrees()
getUnlockedAdvancementTrees in interface org.spongepowered.api.entity.living.player.Playerpublic org.spongepowered.api.data.DataTransactionResult offer(Iterable<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> valueContainers)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public Optional<org.spongepowered.api.util.AABB> getBoundingBox()
getBoundingBox in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult offer(Iterable<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> valueContainers, org.spongepowered.api.data.merge.MergeFunction function)
offer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public List<org.spongepowered.api.entity.Entity> getPassengers()
getPassengers in interface org.spongepowered.api.entity.Entitypublic boolean hasPassenger(org.spongepowered.api.entity.Entity entity)
hasPassenger in interface org.spongepowered.api.entity.Entitypublic boolean addPassenger(org.spongepowered.api.entity.Entity entity)
addPassenger in interface org.spongepowered.api.entity.Entitypublic void removePassenger(org.spongepowered.api.entity.Entity entity)
removePassenger in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult tryOffer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer)
tryOffer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public void clearPassengers()
clearPassengers in interface org.spongepowered.api.entity.Entitypublic Optional<org.spongepowered.api.entity.Entity> getVehicle()
getVehicle in interface org.spongepowered.api.entity.Entitypublic boolean setVehicle(org.spongepowered.api.entity.Entity entity)
setVehicle in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.entity.Entity getBaseVehicle()
getBaseVehicle in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult tryOffer(org.spongepowered.api.data.manipulator.DataManipulator<?,?> valueContainer,
org.spongepowered.api.data.merge.MergeFunction function)
throws IllegalArgumentException
tryOffer in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>IllegalArgumentExceptionpublic com.flowpowered.math.vector.Vector3d getVelocity()
getVelocity in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult setVelocity(com.flowpowered.math.vector.Vector3d vector3d)
setVelocity in interface org.spongepowered.api.entity.Entitypublic boolean isOnGround()
isOnGround in interface org.spongepowered.api.entity.Entitypublic boolean isRemoved()
isRemoved in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult remove(Class<? extends org.spongepowered.api.data.manipulator.DataManipulator<?,?>> containerClass)
remove in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public boolean isLoaded()
isLoaded in interface org.spongepowered.api.entity.Entitypublic void remove()
remove in interface org.spongepowered.api.entity.Entitypublic boolean damage(double damage,
org.spongepowered.api.event.cause.entity.damage.source.DamageSource damageSource)
damage in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult remove(org.spongepowered.api.data.value.BaseValue<?> value)
remove in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public Collection<org.spongepowered.api.entity.Entity> getNearbyEntities(double distance)
getNearbyEntities in interface org.spongepowered.api.entity.Entitypublic Collection<org.spongepowered.api.entity.Entity> getNearbyEntities(Predicate<org.spongepowered.api.entity.Entity> predicate)
getNearbyEntities in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult remove(org.spongepowered.api.data.key.Key<?> key)
remove in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public Optional<UUID> getCreator()
getCreator in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult undo(org.spongepowered.api.data.DataTransactionResult result)
undo in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public Optional<UUID> getNotifier()
getNotifier in interface org.spongepowered.api.entity.Entitypublic void setCreator(UUID uuid)
setCreator in interface org.spongepowered.api.entity.Entitypublic void setNotifier(UUID uuid)
setNotifier in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult copyFrom(org.spongepowered.api.data.DataHolder that)
copyFrom in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public boolean canSee(org.spongepowered.api.entity.Entity entity)
canSee in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.DataTransactionResult copyFrom(org.spongepowered.api.data.DataHolder that,
org.spongepowered.api.data.merge.MergeFunction function)
copyFrom in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public org.spongepowered.api.entity.EntityArchetype createArchetype()
createArchetype in interface org.spongepowered.api.entity.Entitypublic org.spongepowered.api.data.value.mutable.Value<Boolean> gravity()
gravity in interface org.spongepowered.api.entity.Entitypublic Collection<org.spongepowered.api.data.manipulator.DataManipulator<?,?>> getContainers()
getContainers in interface org.spongepowered.api.data.value.mutable.CompositeValueStore<org.spongepowered.api.data.DataHolder,org.spongepowered.api.data.manipulator.DataManipulator<?,?>>public com.flowpowered.math.vector.Vector3d getPosition()
getPosition in interface org.spongepowered.api.entity.living.player.Userpublic Optional<UUID> getWorldUniqueId()
getWorldUniqueId in interface org.spongepowered.api.entity.living.player.Userpublic boolean setLocation(com.flowpowered.math.vector.Vector3d position,
UUID world)
setLocation in interface org.spongepowered.api.entity.living.player.Userpublic Optional<org.spongepowered.api.item.inventory.Container> openInventory(org.spongepowered.api.item.inventory.Inventory inventory, org.spongepowered.api.text.Text displayName)
openInventory in interface org.spongepowered.api.entity.living.player.Player