Class LlamaEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.LivingEntity
org.geysermc.geyser.entity.type.living.MobEntity
org.geysermc.geyser.entity.type.living.CreatureEntity
org.geysermc.geyser.entity.type.living.AgeableEntity
org.geysermc.geyser.entity.type.living.animal.AnimalEntity
org.geysermc.geyser.entity.type.living.animal.horse.AbstractHorseEntity
org.geysermc.geyser.entity.type.living.animal.horse.ChestedHorseEntity
org.geysermc.geyser.entity.type.living.animal.horse.LlamaEntity
- All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity,Leashable,Tickable,ClientVehicle
- Direct Known Subclasses:
TraderLlamaEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
attributeScale, dirtyHeadYaw, dirtyPitch, dirtyYaw, equipment, health, maxHealthFields inherited from class org.geysermc.geyser.entity.type.Entity
bedrockDefinition, customName, customNameVisible, dirtyMetadata, entityId, flags, geyserId, headYaw, height, javaTypeDefinition, metadata, motion, nametag, offset, onGround, passengers, pitch, propertyManager, session, silent, uuid, valid, vehicle, width, yaw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanUseSlot(org.geysermc.mcprotocollib.protocol.data.game.entity.EquipmentSlot slot) intUsed to calculate inventory sizevoidsetStrength(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata) Methods inherited from class org.geysermc.geyser.entity.type.living.animal.horse.ChestedHorseEntity
additionalTestForInventoryOpen, getContainerBaseSize, testForChest, testSaddleMethods inherited from class org.geysermc.geyser.entity.type.living.animal.horse.AbstractHorseEntity
calculateAttribute, doesJumpDismount, getRiddenInput, getVehicleComponent, getVehicleSpeed, isClientControlled, mobHorseInteract, mobInteract, setHorseFlags, spawnEntity, testHorseInteraction, testMobInteraction, testUndeadHorseInteraction, undeadHorseInteract, updateSaddledMethods inherited from class org.geysermc.geyser.entity.type.living.animal.AnimalEntity
canEatMethods inherited from class org.geysermc.geyser.entity.type.living.AgeableEntity
getAdultSize, getBabySize, initializeMetadata, isBaby, setBabyMethods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canBeLeashed, canShearEquipment, interact, isEnemy, leashHolderBedrockId, setLeashHolderBedrockId, setMobFlags, testInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getLerpPosition, getLerpSteps, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isDirtyHeadYaw, isDirtyPitch, isDirtyYaw, isEquippableInSlot, isHolding, isMaxFrozenState, isShaking, moveAbsolute, moveRelative, setAttributeScale, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setDimensionsFromPose, 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, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockDefinition, bedrockDefinition, bedrockPosition, definition, despawnEntity, getBedrockRotation, getBoundingBoxHeight, getBoundingBoxWidth, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getJavaTypeDefinition, getMaxAir, getMetadata, getMotion, getNametag, getOffset, getPassengers, getPitch, getPosition, getPropertyManager, getSession, getVehicle, getYaw, geyserId, hasLeashesToDrop, height, height, interactAt, isCustomNameVisible, isOnGround, isSilent, isValid, javaId, moveAbsolute, moveAbsoluteRaw, moveRelativeRaw, offset, playEntityEvent, playEntityEvent, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setCustomName, setCustomNameVisible, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setJavaTypeDefinition, setMotion, setNameEntityData, setNametag, setNametagAlwaysShow, setOffset, setOnGround, setPassengers, setPitch, setPose, setPosition, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setValid, setVehicle, setYaw, standardDisplayName, teamIdentifier, teleport, update, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotation, uuid, uuid, value, width, widthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.entity.vehicle.ClientVehicle
canClimb, canWalkOnLavaMethods inherited from interface org.geysermc.geyser.api.entity.type.GeyserEntity
updatePropertiesBatched, updateProperty
-
Constructor Details
-
LlamaEntity
-
-
Method Details
-
setStrength
public void setStrength(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata) -
getFoodTag
- Overrides:
getFoodTagin classAbstractHorseEntity- Returns:
- the tag associated with this animal for eating food. Null for nothing or different behavior.
-
canUseSlot
protected boolean canUseSlot(org.geysermc.mcprotocollib.protocol.data.game.entity.EquipmentSlot slot) - Overrides:
canUseSlotin classAbstractHorseEntity
-
getStrength
public int getStrength()Used to calculate inventory size
-