public class AbstractMerchantEntity extends AgeableEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand| 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.
|
updateBedrockMetadatacalculateAttribute, createHealthAttribute, isShaking, setDimensions, setFreezing, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateOffHandaddAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getMaxAir, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setAir, 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.