public class Entity extends Object
| Constructor and Description |
|---|
Entity(long entityId,
long geyserId,
EntityType entityType,
com.flowpowered.math.vector.Vector3f position,
com.flowpowered.math.vector.Vector3f motion,
com.flowpowered.math.vector.Vector3f rotation) |
| Modifier and Type | Method and Description |
|---|---|
void |
despawnEntity(GeyserSession session) |
com.nukkitx.protocol.bedrock.data.EntityDataDictionary |
getMetadata() |
void |
moveAbsolute(com.flowpowered.math.vector.Vector3f position,
float pitch,
float yaw) |
void |
moveAbsolute(com.flowpowered.math.vector.Vector3f position,
com.flowpowered.math.vector.Vector3f rotation) |
void |
moveRelative(double relX,
double relY,
double relZ,
float pitch,
float yaw) |
void |
moveRelative(double relX,
double relY,
double relZ,
com.flowpowered.math.vector.Vector3f rotation) |
void |
spawnEntity(GeyserSession session) |
void |
updateBedrockAttributes(GeyserSession session) |
void |
updateJavaAttributes(GeyserSession session) |
public Entity(long entityId,
long geyserId,
EntityType entityType,
com.flowpowered.math.vector.Vector3f position,
com.flowpowered.math.vector.Vector3f motion,
com.flowpowered.math.vector.Vector3f rotation)
public void spawnEntity(GeyserSession session)
public void despawnEntity(GeyserSession session)
public void moveRelative(double relX,
double relY,
double relZ,
float pitch,
float yaw)
public void moveRelative(double relX,
double relY,
double relZ,
com.flowpowered.math.vector.Vector3f rotation)
public void moveAbsolute(com.flowpowered.math.vector.Vector3f position,
float pitch,
float yaw)
public void moveAbsolute(com.flowpowered.math.vector.Vector3f position,
com.flowpowered.math.vector.Vector3f rotation)
public com.nukkitx.protocol.bedrock.data.EntityDataDictionary getMetadata()
public void updateBedrockAttributes(GeyserSession session)
public void updateJavaAttributes(GeyserSession session)
Copyright © 2019 GeyserMC. All rights reserved.