public class OfflinePlayer extends Object implements org.cloudburstmc.api.player.Player
| Constructor and Description |
|---|
OfflinePlayer(org.cloudburstmc.api.Server server,
String name) |
OfflinePlayer(org.cloudburstmc.api.Server server,
UUID uuid)
初始化这个
OfflinePlayer对象。Initializes the object OfflinePlayer. |
OfflinePlayer(org.cloudburstmc.api.Server server,
UUID uuid,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEffect(org.cloudburstmc.api.potion.Effect effect) |
byte |
addWindow(org.cloudburstmc.api.inventory.Inventory window,
Byte forceId,
boolean isPermanent) |
boolean |
attack(org.cloudburstmc.api.event.entity.EntityDamageEvent source) |
boolean |
canBeMovedByCurrents() |
boolean |
canCollide() |
boolean |
canCollideWith(org.cloudburstmc.api.entity.Entity entity) |
boolean |
canPassThrough() |
boolean |
canTriggerPressurePlate() |
void |
close() |
void |
despawnFrom(org.cloudburstmc.api.player.Player player) |
void |
despawnFromAll() |
boolean |
dismount(org.cloudburstmc.api.entity.Entity vehicle) |
void |
extinguish() |
void |
fall(float fallDistance) |
float |
getAbsorption() |
org.cloudburstmc.api.util.AxisAlignedBB |
getBoundingBox() |
org.cloudburstmc.api.util.data.CardinalDirection |
getCardinalDirection() |
org.cloudburstmc.api.level.chunk.Chunk |
getChunk() |
org.cloudburstmc.api.inventory.CraftingGrid |
getCraftingInventory() |
org.cloudburstmc.api.util.Direction |
getDirection() |
com.nukkitx.math.vector.Vector2f |
getDirectionPlane() |
com.nukkitx.math.vector.Vector3f |
getDirectionVector() |
String |
getDisplayName() |
float |
getDrag() |
org.cloudburstmc.api.potion.Effect |
getEffect(org.cloudburstmc.api.potion.EffectType type) |
org.cloudburstmc.api.potion.Effect |
getEffect(int effectId) |
Map<org.cloudburstmc.api.potion.EffectType,org.cloudburstmc.api.potion.Effect> |
getEffects() |
org.cloudburstmc.api.inventory.ContainerInventory |
getEnderChestInventory() |
float |
getEyeHeight() |
int |
getFireTicks() |
OptionalLong |
getFirstPlayed() |
org.cloudburstmc.api.player.GameMode |
getGamemode() |
float |
getGravity() |
float |
getHealth() |
float |
getHeight() |
float |
getHighestPosition() |
org.cloudburstmc.api.util.Direction |
getHorizontalDirection() |
org.cloudburstmc.api.inventory.PlayerInventory |
getInventory() |
org.cloudburstmc.api.event.entity.EntityDamageEvent |
getLastDamageCause() |
OptionalLong |
getLastPlayed() |
float |
getLength() |
org.cloudburstmc.api.level.Level |
getLevel() |
org.cloudburstmc.api.level.Location |
getLocation() |
int |
getMaxHealth() |
com.nukkitx.math.vector.Vector3f |
getMotion() |
float |
getMovementSpeed() |
String |
getName() |
String |
getNameTag() |
int |
getNoDamageTicks() |
org.cloudburstmc.api.entity.Entity |
getOwner() |
List<? extends org.cloudburstmc.api.entity.Entity> |
getPassengers() |
float |
getPitch() |
com.nukkitx.math.vector.Vector3f |
getPosition() |
long |
getRuntimeId() |
float |
getScale() |
com.nukkitx.math.vector.Vector3f |
getSeatPosition() |
CloudServer |
getServer() |
UUID |
getServerId() |
org.cloudburstmc.api.player.skin.Skin |
getSkin() |
org.cloudburstmc.api.level.Location |
getSpawn() |
org.cloudburstmc.api.entity.EntityType<?> |
getType() |
long |
getUniqueId() |
org.cloudburstmc.api.entity.Entity |
getVehicle() |
Set<? extends org.cloudburstmc.api.player.Player> |
getViewers() |
org.cloudburstmc.api.blockentity.EnderChest |
getViewingEnderChest() |
float |
getWidth() |
byte |
getWindowId(org.cloudburstmc.api.inventory.Inventory inventory) |
float |
getX() |
String |
getXuid() |
float |
getY() |
float |
getYaw() |
float |
getZ() |
boolean |
hasControllingPassenger() |
boolean |
hasEffect(org.cloudburstmc.api.potion.EffectType type) |
boolean |
hasEffect(int effectId) |
boolean |
hasNameTag() |
boolean |
hasPlayedBefore() |
void |
heal(org.cloudburstmc.api.event.entity.EntityRegainHealthEvent source) |
boolean |
isAdventure() |
boolean |
isBanned() |
boolean |
isClosed() |
boolean |
isConnected() |
boolean |
isControlling(org.cloudburstmc.api.entity.Entity entity) |
boolean |
isCreative() |
boolean |
isInsideOfWater() |
boolean |
isNameTagVisible() |
boolean |
isOnGround() |
boolean |
isOnline() |
boolean |
isOp() |
boolean |
isPassenger(org.cloudburstmc.api.entity.Entity entity) |
boolean |
isSleeping() |
boolean |
isSneaking() |
boolean |
isSpawned() |
boolean |
isSpectator() |
boolean |
isSurvival() |
boolean |
isWhitelisted() |
void |
kill() |
boolean |
mount(org.cloudburstmc.api.entity.Entity vehicle,
org.cloudburstmc.api.util.data.MountType mode) |
void |
onDismount(org.cloudburstmc.api.entity.Entity passenger) |
void |
onEntityCollision(org.cloudburstmc.api.entity.Entity entity) |
boolean |
onInteract(org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f clickedPos) |
void |
onMount(org.cloudburstmc.api.entity.Entity passenger) |
void |
onStruckByLightning(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt) |
boolean |
onUpdate(int currentTick) |
void |
removeAllEffects() |
void |
removeEffect(org.cloudburstmc.api.potion.EffectType type) |
void |
removeEffect(int effectId) |
void |
removeWindow(org.cloudburstmc.api.inventory.Inventory inventory) |
void |
resetFallDistance() |
void |
resetInAirTicks() |
void |
save(boolean async) |
void |
setAbsorption(float absorption) |
void |
setBanned(boolean value) |
void |
setHealth(float health) |
void |
setHighestPosition(float highestPosition) |
void |
setMaxHealth(int maxHealth) |
boolean |
setMotion(com.nukkitx.math.vector.Vector3f motion) |
void |
setMovementSpeed(float speed) |
void |
setNameTag(String name) |
void |
setNameTagVisible(boolean visible) |
void |
setNoDamageTicks(int noDamageTicks) |
void |
setOnFire(int seconds) |
void |
setOnGround(boolean onGround) |
void |
setOp(boolean value) |
void |
setOwner(org.cloudburstmc.api.entity.Entity entity) |
boolean |
setPosition(com.nukkitx.math.vector.Vector3f pos) |
boolean |
setPositionAndRotation(com.nukkitx.math.vector.Vector3f pos,
float yaw,
float pitch) |
void |
setRotation(float yaw,
float pitch) |
void |
setScale(float scale) |
void |
setSeatPosition(com.nukkitx.math.vector.Vector3f pos) |
void |
setSkin(org.cloudburstmc.api.player.skin.Skin newSkin) |
void |
setSpawn(org.cloudburstmc.api.level.Location spawn) |
void |
setViewingEnderChest(org.cloudburstmc.api.blockentity.EnderChest chest) |
void |
setWhitelisted(boolean value) |
boolean |
sleepOn(com.nukkitx.math.vector.Vector3i pos) |
void |
spawnTo(org.cloudburstmc.api.player.Player player) |
void |
spawnToAll() |
void |
stopSleep() |
boolean |
teleport(org.cloudburstmc.api.level.Location location,
org.cloudburstmc.api.event.player.PlayerTeleportEvent.TeleportCause cause) |
boolean |
teleport(com.nukkitx.math.vector.Vector3f pos,
org.cloudburstmc.api.event.player.PlayerTeleportEvent.TeleportCause cause) |
public OfflinePlayer(org.cloudburstmc.api.Server server,
UUID uuid)
OfflinePlayer对象。OfflinePlayer.server - 这个玩家所在服务器的Server对象。Server object.uuid - 这个玩家的UUID。public OfflinePlayer(org.cloudburstmc.api.Server server,
String name)
public boolean isOnline()
isOnline in interface org.cloudburstmc.api.player.Playerpublic String getName()
getName in interface org.cloudburstmc.api.entity.EntitygetName in interface org.cloudburstmc.api.player.Playerpublic void spawnTo(org.cloudburstmc.api.player.Player player)
spawnTo in interface org.cloudburstmc.api.entity.Entitypublic void spawnToAll()
spawnToAll in interface org.cloudburstmc.api.entity.Entitypublic void despawnFrom(org.cloudburstmc.api.player.Player player)
despawnFrom in interface org.cloudburstmc.api.entity.Entitypublic void despawnFromAll()
despawnFromAll in interface org.cloudburstmc.api.entity.Entitypublic Set<? extends org.cloudburstmc.api.player.Player> getViewers()
getViewers in interface org.cloudburstmc.api.entity.Entitypublic boolean attack(org.cloudburstmc.api.event.entity.EntityDamageEvent source)
attack in interface org.cloudburstmc.api.entity.Entitypublic void heal(org.cloudburstmc.api.event.entity.EntityRegainHealthEvent source)
heal in interface org.cloudburstmc.api.entity.Entitypublic float getHealth()
getHealth in interface org.cloudburstmc.api.entity.Entitypublic void setHealth(float health)
setHealth in interface org.cloudburstmc.api.entity.Entitypublic int getMaxHealth()
getMaxHealth in interface org.cloudburstmc.api.entity.Entitypublic void setMaxHealth(int maxHealth)
setMaxHealth in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.event.entity.EntityDamageEvent getLastDamageCause()
getLastDamageCause in interface org.cloudburstmc.api.entity.Entitypublic boolean canCollideWith(org.cloudburstmc.api.entity.Entity entity)
canCollideWith in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.util.Direction getDirection()
getDirection in interface org.cloudburstmc.api.entity.Entitypublic com.nukkitx.math.vector.Vector3f getDirectionVector()
getDirectionVector in interface org.cloudburstmc.api.entity.Entitypublic com.nukkitx.math.vector.Vector2f getDirectionPlane()
getDirectionPlane in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.util.Direction getHorizontalDirection()
getHorizontalDirection in interface org.cloudburstmc.api.entity.Entitypublic boolean onUpdate(int currentTick)
onUpdate in interface org.cloudburstmc.api.entity.Entitypublic float getAbsorption()
getAbsorption in interface org.cloudburstmc.api.entity.Entitypublic void setAbsorption(float absorption)
setAbsorption in interface org.cloudburstmc.api.entity.Entitypublic void setOnFire(int seconds)
setOnFire in interface org.cloudburstmc.api.entity.Entitypublic int getFireTicks()
getFireTicks in interface org.cloudburstmc.api.entity.Entitypublic void extinguish()
extinguish in interface org.cloudburstmc.api.entity.Entitypublic int getNoDamageTicks()
getNoDamageTicks in interface org.cloudburstmc.api.entity.Entitypublic void setNoDamageTicks(int noDamageTicks)
setNoDamageTicks in interface org.cloudburstmc.api.entity.Entitypublic float getHighestPosition()
getHighestPosition in interface org.cloudburstmc.api.entity.Entitypublic void setHighestPosition(float highestPosition)
setHighestPosition in interface org.cloudburstmc.api.entity.Entitypublic void resetFallDistance()
resetFallDistance in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.util.AxisAlignedBB getBoundingBox()
getBoundingBox in interface org.cloudburstmc.api.entity.Entitypublic void fall(float fallDistance)
fall in interface org.cloudburstmc.api.entity.Entitypublic void onStruckByLightning(org.cloudburstmc.api.entity.misc.LightningBolt lightningBolt)
onStruckByLightning in interface org.cloudburstmc.api.entity.Entitypublic boolean onInteract(org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f clickedPos)
onInteract in interface org.cloudburstmc.api.entity.Entitypublic float getX()
getX in interface org.cloudburstmc.api.entity.Entitypublic float getY()
getY in interface org.cloudburstmc.api.entity.Entitypublic float getZ()
getZ in interface org.cloudburstmc.api.entity.Entitypublic com.nukkitx.math.vector.Vector3f getPosition()
getPosition in interface org.cloudburstmc.api.entity.Entitypublic boolean setPosition(com.nukkitx.math.vector.Vector3f pos)
setPosition in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.level.Location getLocation()
getLocation in interface org.cloudburstmc.api.entity.Entitypublic com.nukkitx.math.vector.Vector3f getMotion()
getMotion in interface org.cloudburstmc.api.entity.Entitypublic boolean setMotion(com.nukkitx.math.vector.Vector3f motion)
setMotion in interface org.cloudburstmc.api.entity.Entitypublic void setRotation(float yaw,
float pitch)
setRotation in interface org.cloudburstmc.api.entity.Entitypublic boolean setPositionAndRotation(com.nukkitx.math.vector.Vector3f pos,
float yaw,
float pitch)
setPositionAndRotation in interface org.cloudburstmc.api.entity.Entitypublic float getPitch()
getPitch in interface org.cloudburstmc.api.entity.Entitypublic float getYaw()
getYaw in interface org.cloudburstmc.api.entity.Entitypublic boolean canBeMovedByCurrents()
canBeMovedByCurrents in interface org.cloudburstmc.api.entity.Entitypublic boolean canTriggerPressurePlate()
canTriggerPressurePlate in interface org.cloudburstmc.api.entity.Entitypublic boolean canPassThrough()
canPassThrough in interface org.cloudburstmc.api.entity.Entitypublic UUID getServerId()
getServerId in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.entity.EntityType<?> getType()
getType in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.level.chunk.Chunk getChunk()
getChunk in interface org.cloudburstmc.api.entity.Entitypublic CloudServer getServer()
getServer in interface org.cloudburstmc.api.entity.EntitygetServer in interface org.cloudburstmc.api.player.Playerpublic long getUniqueId()
getUniqueId in interface org.cloudburstmc.api.entity.Entitypublic long getRuntimeId()
getRuntimeId in interface org.cloudburstmc.api.entity.Entitypublic float getHeight()
getHeight in interface org.cloudburstmc.api.entity.Entitypublic float getEyeHeight()
getEyeHeight in interface org.cloudburstmc.api.entity.Entitypublic float getWidth()
getWidth in interface org.cloudburstmc.api.entity.Entitypublic float getLength()
getLength in interface org.cloudburstmc.api.entity.Entitypublic boolean canCollide()
canCollide in interface org.cloudburstmc.api.entity.Entitypublic void onEntityCollision(org.cloudburstmc.api.entity.Entity entity)
onEntityCollision in interface org.cloudburstmc.api.entity.Entitypublic float getGravity()
getGravity in interface org.cloudburstmc.api.entity.Entitypublic float getDrag()
getDrag in interface org.cloudburstmc.api.entity.Entitypublic boolean hasNameTag()
hasNameTag in interface org.cloudburstmc.api.entity.Entitypublic String getNameTag()
getNameTag in interface org.cloudburstmc.api.entity.Entitypublic void setNameTag(String name)
setNameTag in interface org.cloudburstmc.api.entity.Entitypublic boolean isNameTagVisible()
isNameTagVisible in interface org.cloudburstmc.api.entity.Entitypublic void setNameTagVisible(boolean visible)
setNameTagVisible in interface org.cloudburstmc.api.entity.Entitypublic float getScale()
getScale in interface org.cloudburstmc.api.entity.Entitypublic void setScale(float scale)
setScale in interface org.cloudburstmc.api.entity.Entitypublic List<? extends org.cloudburstmc.api.entity.Entity> getPassengers()
getPassengers in interface org.cloudburstmc.api.entity.Entitypublic boolean isPassenger(org.cloudburstmc.api.entity.Entity entity)
isPassenger in interface org.cloudburstmc.api.entity.Entitypublic boolean isControlling(org.cloudburstmc.api.entity.Entity entity)
isControlling in interface org.cloudburstmc.api.entity.Entitypublic boolean hasControllingPassenger()
hasControllingPassenger in interface org.cloudburstmc.api.entity.Entitypublic com.nukkitx.math.vector.Vector3f getSeatPosition()
getSeatPosition in interface org.cloudburstmc.api.entity.Entitypublic void setSeatPosition(com.nukkitx.math.vector.Vector3f pos)
setSeatPosition in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.entity.Entity getVehicle()
getVehicle in interface org.cloudburstmc.api.entity.Entitypublic boolean mount(org.cloudburstmc.api.entity.Entity vehicle,
org.cloudburstmc.api.util.data.MountType mode)
mount in interface org.cloudburstmc.api.entity.Entitypublic boolean dismount(org.cloudburstmc.api.entity.Entity vehicle)
dismount in interface org.cloudburstmc.api.entity.Entitypublic void onMount(org.cloudburstmc.api.entity.Entity passenger)
onMount in interface org.cloudburstmc.api.entity.Entitypublic void onDismount(org.cloudburstmc.api.entity.Entity passenger)
onDismount in interface org.cloudburstmc.api.entity.Entitypublic Map<org.cloudburstmc.api.potion.EffectType,org.cloudburstmc.api.potion.Effect> getEffects()
getEffects in interface org.cloudburstmc.api.entity.Entitypublic void removeAllEffects()
removeAllEffects in interface org.cloudburstmc.api.entity.Entitypublic void addEffect(org.cloudburstmc.api.potion.Effect effect)
addEffect in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.potion.Effect getEffect(int effectId)
getEffect in interface org.cloudburstmc.api.entity.Entitypublic org.cloudburstmc.api.potion.Effect getEffect(org.cloudburstmc.api.potion.EffectType type)
getEffect in interface org.cloudburstmc.api.entity.Entitypublic void removeEffect(int effectId)
removeEffect in interface org.cloudburstmc.api.entity.Entitypublic void removeEffect(org.cloudburstmc.api.potion.EffectType type)
removeEffect in interface org.cloudburstmc.api.entity.Entitypublic boolean hasEffect(int effectId)
hasEffect in interface org.cloudburstmc.api.entity.Entitypublic boolean hasEffect(org.cloudburstmc.api.potion.EffectType type)
hasEffect in interface org.cloudburstmc.api.entity.Entitypublic boolean isOp()
isOp in interface org.cloudburstmc.api.player.Playerpublic void setMovementSpeed(float speed)
setMovementSpeed in interface org.cloudburstmc.api.player.Playerpublic float getMovementSpeed()
getMovementSpeed in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.level.Level getLevel()
getLevel in interface org.cloudburstmc.api.entity.EntitygetLevel in interface org.cloudburstmc.api.player.Playerpublic boolean isSpectator()
isSpectator in interface org.cloudburstmc.api.player.Playerpublic boolean isCreative()
isCreative in interface org.cloudburstmc.api.player.Playerpublic boolean isSurvival()
isSurvival in interface org.cloudburstmc.api.player.Playerpublic void resetInAirTicks()
resetInAirTicks in interface org.cloudburstmc.api.player.Playerpublic boolean isSpawned()
isSpawned in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.player.GameMode getGamemode()
getGamemode in interface org.cloudburstmc.api.player.Playerpublic byte getWindowId(org.cloudburstmc.api.inventory.Inventory inventory)
getWindowId in interface org.cloudburstmc.api.player.Playerpublic byte addWindow(org.cloudburstmc.api.inventory.Inventory window,
Byte forceId,
boolean isPermanent)
addWindow in interface org.cloudburstmc.api.player.Playerpublic void removeWindow(org.cloudburstmc.api.inventory.Inventory inventory)
removeWindow in interface org.cloudburstmc.api.player.Playerpublic String getDisplayName()
getDisplayName in interface org.cloudburstmc.api.player.Playerpublic String getXuid()
getXuid in interface org.cloudburstmc.api.player.Playerpublic boolean isConnected()
isConnected in interface org.cloudburstmc.api.player.Playerpublic void save(boolean async)
save in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.util.data.CardinalDirection getCardinalDirection()
getCardinalDirection in interface org.cloudburstmc.api.player.Playerpublic boolean isAdventure()
isAdventure in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.level.Location getSpawn()
getSpawn in interface org.cloudburstmc.api.player.Playerpublic void setSpawn(org.cloudburstmc.api.level.Location spawn)
setSpawn in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.player.skin.Skin getSkin()
getSkin in interface org.cloudburstmc.api.player.Playerpublic void setSkin(org.cloudburstmc.api.player.skin.Skin newSkin)
setSkin in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.blockentity.EnderChest getViewingEnderChest()
getViewingEnderChest in interface org.cloudburstmc.api.player.Playerpublic void setViewingEnderChest(org.cloudburstmc.api.blockentity.EnderChest chest)
setViewingEnderChest in interface org.cloudburstmc.api.player.Playerpublic void setOp(boolean value)
setOp in interface org.cloudburstmc.api.player.Playerpublic boolean isBanned()
isBanned in interface org.cloudburstmc.api.player.Playerpublic void setBanned(boolean value)
setBanned in interface org.cloudburstmc.api.player.Playerpublic boolean isWhitelisted()
isWhitelisted in interface org.cloudburstmc.api.player.Playerpublic void setWhitelisted(boolean value)
setWhitelisted in interface org.cloudburstmc.api.player.Playerpublic OptionalLong getFirstPlayed()
getFirstPlayed in interface org.cloudburstmc.api.player.Playerpublic OptionalLong getLastPlayed()
getLastPlayed in interface org.cloudburstmc.api.player.Playerpublic boolean hasPlayedBefore()
hasPlayedBefore in interface org.cloudburstmc.api.player.Playerpublic boolean isInsideOfWater()
isInsideOfWater in interface org.cloudburstmc.api.player.Playerpublic boolean isSneaking()
isSneaking in interface org.cloudburstmc.api.player.Playerpublic boolean isSleeping()
isSleeping in interface org.cloudburstmc.api.player.Playerpublic boolean sleepOn(com.nukkitx.math.vector.Vector3i pos)
sleepOn in interface org.cloudburstmc.api.player.Playerpublic void stopSleep()
stopSleep in interface org.cloudburstmc.api.player.Playerpublic boolean isOnGround()
isOnGround in interface org.cloudburstmc.api.entity.EntityisOnGround in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.inventory.PlayerInventory getInventory()
getInventory in interface org.cloudburstmc.api.inventory.InventoryHoldergetInventory in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.inventory.ContainerInventory getEnderChestInventory()
getEnderChestInventory in interface org.cloudburstmc.api.player.Playerpublic org.cloudburstmc.api.inventory.CraftingGrid getCraftingInventory()
getCraftingInventory in interface org.cloudburstmc.api.player.Playerpublic void setOnGround(boolean onGround)
setOnGround in interface org.cloudburstmc.api.entity.Entitypublic void kill()
kill in interface org.cloudburstmc.api.entity.Entitypublic boolean teleport(com.nukkitx.math.vector.Vector3f pos,
org.cloudburstmc.api.event.player.PlayerTeleportEvent.TeleportCause cause)
teleport in interface org.cloudburstmc.api.entity.Entitypublic boolean teleport(org.cloudburstmc.api.level.Location location,
org.cloudburstmc.api.event.player.PlayerTeleportEvent.TeleportCause cause)
teleport in interface org.cloudburstmc.api.entity.Entity@Nullable public org.cloudburstmc.api.entity.Entity getOwner()
getOwner in interface org.cloudburstmc.api.entity.Entitypublic void setOwner(@Nullable org.cloudburstmc.api.entity.Entity entity)
setOwner in interface org.cloudburstmc.api.entity.Entitypublic boolean isClosed()
isClosed in interface org.cloudburstmc.api.entity.Entitypublic void close()
close in interface org.cloudburstmc.api.entity.EntityCopyright © 2021. All rights reserved.