public class AbstractMerchantEntity extends AgeableEntity
boots, chestplate, hand, helmet, leggings, offHandattributes, entityId, entityType, geyserId, metadata, motion, onGround, passengers, position, rotation, scale, valid| Constructor and Description |
|---|
AbstractMerchantEntity(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 |
|---|---|
void |
teleport(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
float yaw,
float pitch,
boolean isOnGround)
Teleports an entity to a new location.
|
updateBedrockMetadatagetDefaultMaxHealth, updateBedrockAttributes, updateEquipmentas, despawnEntity, getBedrockRotation, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, spawnEntity, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic AbstractMerchantEntity(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 teleport(GeyserSession session, com.nukkitx.math.vector.Vector3f position, float yaw, float pitch, boolean isOnGround)
EntityCopyright © 2021 GeyserMC. All rights reserved.