Class MannequinEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.LivingEntity
org.geysermc.geyser.entity.type.player.AvatarEntity
org.geysermc.geyser.entity.type.player.MannequinEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Tickable
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.player.AvatarEntity
BASE_ABILITY_LAYER, SNEAKING_POSE_HEIGHT, texturesProperty, usernameFields inherited from class org.geysermc.geyser.entity.type.LivingEntity
dirtyHeadYaw, dirtyPitch, dirtyYaw, equipment, health, maxHealthFields inherited from class org.geysermc.geyser.entity.type.Entity
definition, dirtyMetadata, displayName, entityId, flags, geyserId, headYaw, motion, nametag, onGround, passengers, pitch, position, propertyManager, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
ConstructorsConstructorDescriptionMannequinEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListed()Whether this entity is listed on the player list.voidsetDescription(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<Optional<net.kyori.adventure.text.Component>, ?> entityMetadata) voidsetProfile(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile, ?> entityMetadata) Methods inherited from class org.geysermc.geyser.entity.type.player.AvatarEntity
getBedPosition, getTexturesProperty, getUsername, initializeMetadata, moveAbsolute, moveAbsoluteRaw, moveRelative, moveRelativeRaw, scoreVisibility, setBedPosition, setBelowNameText, setDimensionsFromPose, setDisplayName, setDisplayNameVisible, setPitch, setPose, setPosition, setSkin, setSkin, setSkin, setSkinVisibility, setTexturesProperty, spawnEntityMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, canUseSlot, checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getLerpPosition, getLerpSteps, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, interact, isAlive, isDirtyHeadYaw, isDirtyPitch, isDirtyYaw, isEquippableInSlot, isHolding, isMaxFrozenState, isShaking, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDirtyHeadYaw, setDirtyPitch, setDirtyYaw, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLerpPosition, setLerpSteps, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setSaddle, setScale, setSpinAttack, shouldLerp, switchHands, tick, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, despawnEntity, doesJumpDismount, getBedrockRotation, getBoundingBoxHeight, getBoundingBoxWidth, getDefinition, getDirtyMetadata, getEntityId, getFlag, getGeyserId, getHeadYaw, getMaxAir, getMotion, getNametag, getPassengers, getPitch, getPosition, getPropertyManager, getSession, getUuid, getVehicle, getYaw, hasLeashesToDrop, interactAt, isOnGround, isSilent, isValid, javaId, moveAbsolute, playEntityEvent, playEntityEvent, setAir, setAirSupply, setClientSideSilent, setDefinition, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setMotion, setNametag, setOnGround, setPassengers, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setUuid, setValid, setVehicle, setYaw, standardDisplayName, teamIdentifier, teleport, testInteraction, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.entity.type.GeyserEntity
updatePropertiesBatched, updateProperty
-
Constructor Details
-
MannequinEntity
public MannequinEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-
-
Method Details
-
setProfile
public void setProfile(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile, ?> entityMetadata) -
getDisplayName
- Overrides:
getDisplayNamein classAvatarEntity
-
isListed
public boolean isListed()Description copied from class:AvatarEntityWhether this entity is listed on the player list. Since player entities are used for e.g. custom skulls too, we need to hack around limitations introduced in 1.21.130 to ensure skins are correctly applied.- Specified by:
isListedin classAvatarEntity- Returns:
- whether this player entity is listed
- See Also:
-
setDescription
public void setDescription(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<Optional<net.kyori.adventure.text.Component>, ?> entityMetadata)
-