public class PlayerEntity extends LivingEntity
boots, chestplate, hand, helmet, leggings, offHandattributes, dimension, entityId, entityType, geyserId, metadata, motion, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
PlayerEntity(com.github.steveice10.mc.auth.data.GameProfile gameProfile,
long entityId,
long geyserId,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
despawnEntity(GeyserSession session) |
void |
moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
sendPlayer(GeyserSession session) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
spawnEntity(GeyserSession session) |
void |
updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
updateEquipmentas, getBedrockRotation, is, moveAbsolute, moveRelative, updateBedrockAttributes, updateBedrockMetadatapublic PlayerEntity(com.github.steveice10.mc.auth.data.GameProfile gameProfile,
long entityId,
long geyserId,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation)
public boolean despawnEntity(GeyserSession session)
despawnEntity in class Entitypublic void spawnEntity(GeyserSession session)
spawnEntity in class Entitypublic void sendPlayer(GeyserSession session)
public void moveAbsolute(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround)
moveAbsolute in class Entitypublic void moveRelative(GeyserSession session, double relX, double relY, double relZ, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround)
moveRelative in class Entitypublic void setPosition(com.nukkitx.math.vector.Vector3f position)
public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
updateBedrockMetadata in class LivingEntityCopyright © 2020 GeyserMC. All rights reserved.