public class EnderDragonEntity extends InsentientEntity
boots, chestplate, hand, helmet, leggings, offHandattributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
EnderDragonEntity(long entityId,
long geyserId,
EntityType entityType,
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)
Despawns the entity
|
void |
spawnEntity(GeyserSession session) |
void |
updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
Applies the Java metadata to the local Bedrock metadata copy
|
getDefaultMaxHealth, updateBedrockAttributes, updateEquipmentas, getBedrockRotation, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, teleport, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic EnderDragonEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation)
public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
EntityupdateBedrockMetadata in class InsentientEntityentityMetadata - the Java entity metadatasession - GeyserSessionpublic void spawnEntity(GeyserSession session)
spawnEntity in class Entitypublic boolean despawnEntity(GeyserSession session)
EntitydespawnEntity in class Entitysession - The GeyserSessionCopyright © 2020 GeyserMC. All rights reserved.