Interface LivePlayer
- All Superinterfaces:
AbstractHuman<LiveEntity>,net.kyori.adventure.audience.Audience,CommandSource,Entity<LiveEntity>,EntityProjectileSource,EntitySource,InventoryHoldingEntity<LiveEntity>,LiveEntity,LivingEntity<LiveEntity>,Messageable,Player<LiveEntity>,net.kyori.adventure.pointer.Pointered,Positionable<SyncExactPosition>,ProjectileSource,Source,Tamer<LiveEntity>,User
public interface LivePlayer
extends Player<LiveEntity>, LiveEntity, net.kyori.adventure.audience.Audience, CommandSource
-
Method Summary
Modifier and TypeMethodDescription@NotNull @UnmodifiableView Iterable<? extends net.kyori.adventure.bossbar.BossBar>bossBars()default Stream<? extends net.kyori.adventure.bossbar.BossBar>default Optional<BlockPosition>getBlockLookingAt(int scanLength)default EntityType<LivePlayer,PlayerSnapshot>getType()Gets the type of the entitybooleanhasPermission(Permission permission)voidsendMessage(@NotNull net.kyori.adventure.text.Component message)voidsetBlock(@NotNull BlockDetails details, @NotNull Vector3<Integer> position)Methods inherited from interface org.core.entity.living.human.AbstractHuman
getExhaustionLevel, getFoodLevel, getName, getSaturationLevel, isSneaking, setExhaustionLevel, setFood, setSaturationLevel, setSneakingMethods inherited from interface net.kyori.adventure.audience.Audience
clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.core.source.command.CommandSource
sudo, sudoMethods inherited from interface org.core.entity.Entity
addPassengers, addPassengers, clearPassengers, getAttachedTo, getCustomNameComponent, getFacingDirection, getPassengers, getPitch, getPosition, getRoll, getVelocity, getYaw, hasGravity, hasPassengers, isCustomNameVisible, isOnGround, isRemoved, removePassengers, removePassengers, setCustomName, setCustomName, setCustomNameVisible, setGravity, setPitch, setPosition, setPosition, setPosition, setPosition, setRoll, setVelocity, setVelocity, setYawMethods inherited from interface org.core.entity.LiveEntity
removeMethods inherited from interface org.core.source.Messageable
sendMessage, sendMessage, sendPlainMessageMethods inherited from interface org.core.entity.living.human.player.Player
createSnapshot, getInventory, isViewingInventoryMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.core.entity.living.human.player.User
getAccount, getName, getUniqueId
-
Method Details
-
getBlockLookingAt
-
getBlockLookingAt
-
getType
Description copied from interface:EntityGets the type of the entity- Specified by:
getTypein interfaceEntity<LiveEntity>- Specified by:
getTypein interfacePlayer<LiveEntity>- Returns:
- The Entity Type
-
setBlock
-
hasPermission
-
bossBars
@NotNull @NotNull @UnmodifiableView Iterable<? extends net.kyori.adventure.bossbar.BossBar> bossBars() -
bossBarsStream
-
sendMessage
void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message)- Specified by:
sendMessagein interfacenet.kyori.adventure.audience.Audience- Specified by:
sendMessagein interfaceMessageable
-