public class EnderDragonEntity extends InsentientEntity implements Tickable
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 |
tick(GeyserSession session) |
void |
updateBedrockAttributes(GeyserSession session)
Send an updated list of attributes to the Bedrock client.
|
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, updateAllEquipment, updateArmor, updateMainHand, updateOffHandas, 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 updateBedrockAttributes(GeyserSession session)
updateBedrockAttributes in class LivingEntitysession - GeyserSessionpublic void spawnEntity(GeyserSession session)
spawnEntity in class Entitypublic boolean despawnEntity(GeyserSession session)
EntitydespawnEntity in class Entitysession - The GeyserSessionpublic void tick(GeyserSession session)
Copyright © 2021 GeyserMC. All rights reserved.