public class SessionPlayerEntity extends PlayerEntity
GeyserSession's player.boots, chestplate, hand, helmet, leggings, offHandattributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
SessionPlayerEntity(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
setPosition(com.nukkitx.math.vector.Vector3f position) |
void |
spawnEntity(GeyserSession session) |
moveRelative, sendPlayer, setPosition, updateBedrockAttributes, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationgetDefaultMaxHealth, updateEquipmentas, despawnEntity, getBedrockRotation, is, moveAbsolute, moveRelative, teleport, updateBedrockMetadatapublic SessionPlayerEntity(GeyserSession session)
public void spawnEntity(GeyserSession session)
spawnEntity in class PlayerEntitypublic void moveAbsolute(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround, boolean teleported)
moveAbsolute in class PlayerEntitypublic void setPosition(com.nukkitx.math.vector.Vector3f position)
setPosition in class PlayerEntityCopyright © 2020 GeyserMC. All rights reserved.