public class PlayerEntity extends LivingEntity
boots, chestplate, hand, helmet, leggingsattributes, dimension, entityId, entityType, geyserId, metadata, motion, movePending, 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 |
sendPlayer(GeyserSession session) |
void |
spawnEntity(GeyserSession session) |
updateBedrockMetadata, updateEquipmentas, getBedrockRotation, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setPosition, updateBedrockAttributespublic 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)
Copyright © 2019 GeyserMC. All rights reserved.