public class PaintingEntity extends Entity
attributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
PaintingEntity(long entityId,
long geyserId,
com.nukkitx.math.vector.Vector3f position) |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.math.vector.Vector3f |
fixOffset(boolean toBedrock) |
void |
spawnEntity(GeyserSession session) |
void |
updateHeadLookRotation(GeyserSession session,
float headYaw)
Updates an entity's head position.
|
as, despawnEntity, getBedrockRotation, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setDimensions, teleport, updateBedrockAttributes, updateBedrockMetadata, updateBedrockMetadata, updatePositionAndRotation, updateRotationpublic PaintingEntity(long entityId,
long geyserId,
com.nukkitx.math.vector.Vector3f position)
public void spawnEntity(GeyserSession session)
spawnEntity in class Entitypublic void updateHeadLookRotation(GeyserSession session, float headYaw)
EntityupdateHeadLookRotation in class Entitysession - GeyserSession.headYaw - The new head rotation of the entity.public com.nukkitx.math.vector.Vector3f fixOffset(boolean toBedrock)
Copyright © 2021 GeyserMC. All rights reserved.