public class SpongeFakePlayer extends AbstractEntity implements FakePlayer
| Constructor and Description |
|---|
SpongeFakePlayer(Location loc,
String name) |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox() |
Object |
getDefault() |
String |
getEntityId() |
double |
getEyeHeight() |
Location |
getEyeLocation() |
Location |
getLocation() |
String |
getName() |
Vector |
getRotation() |
Vector |
getTheoricVelocity() |
UUID |
getUUID() |
void |
hide(Player p) |
boolean |
isOnGround() |
boolean |
isOp() |
void |
setVelocity(Vector vel) |
void |
show(Player pl) |
applyTheoricVelocity, getTargetBlock, getVelocity, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetType, sendMessageapplyTheoricVelocity, getTargetBlock, getVelocity, isSameId, isSameIdpublic void show(Player pl)
show in interface FakePlayerpublic Location getLocation()
getLocation in interface Entitypublic String getName()
getName in interface CommandSenderpublic void hide(Player p)
hide in interface FakePlayerpublic UUID getUUID()
getUUID in interface FakePlayerpublic boolean isOnGround()
isOnGround in interface Entitypublic String getEntityId()
getEntityId in interface Entitypublic double getEyeHeight()
getEyeHeight in interface Entitypublic Vector getTheoricVelocity()
getTheoricVelocity in interface Entitypublic void setVelocity(Vector vel)
setVelocity in interface Entitypublic Location getEyeLocation()
getEyeLocation in interface Entitypublic Vector getRotation()
getRotation in interface Entitypublic Object getDefault()
getDefault in interface NegativityObjectpublic BoundingBox getBoundingBox()
getBoundingBox in interface Entity