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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType, sendMessage
applyTheoricVelocity, getTargetBlock, getVelocity, isSameId, isSameId
public void show(Player pl)
show
in interface FakePlayer
public Location getLocation()
getLocation
in interface Entity
public String getName()
getName
in interface CommandSender
public void hide(Player p)
hide
in interface FakePlayer
public UUID getUUID()
getUUID
in interface FakePlayer
public boolean isOnGround()
isOnGround
in interface Entity
public String getEntityId()
getEntityId
in interface Entity
public double getEyeHeight()
getEyeHeight
in interface Entity
public Vector getTheoricVelocity()
getTheoricVelocity
in interface Entity
public void setVelocity(Vector vel)
setVelocity
in interface Entity
public Location getEyeLocation()
getEyeLocation
in interface Entity
public Vector getRotation()
getRotation
in interface Entity
public Object getDefault()
getDefault
in interface NegativityObject
public BoundingBox getBoundingBox()
getBoundingBox
in interface Entity