public class PlayerEntity extends Entity
attributes, 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) |
void |
updateEquipment(GeyserSession session) |
as, getBedrockRotation, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setPosition, updateBedrockAttributes, updateJavaAttributespublic 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 void updateEquipment(GeyserSession session)
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.