Class LivingEntity

java.lang.Object
com.loohp.limbo.entity.Entity
com.loohp.limbo.entity.LivingEntity
All Implemented Interfaces:
net.kyori.adventure.sound.Sound.Emitter
Direct Known Subclasses:
ArmorStand, Player

public abstract class LivingEntity extends Entity
  • Field Details

    • handActive

      protected boolean handActive
    • activeHand

      protected boolean activeHand
    • inRiptideSpinAttack

      protected boolean inRiptideSpinAttack
    • health

      protected float health
    • potionEffectColor

      protected int potionEffectColor
    • potionEffectAmbient

      protected boolean potionEffectAmbient
    • arrowsInEntity

      protected int arrowsInEntity
    • absorption

      protected int absorption
    • sleepingLocation

      protected org.cloudburstmc.math.vector.Vector3i sleepingLocation
  • Constructor Details

    • LivingEntity

      public LivingEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, int entityId, UUID uuid, World world, double x, double y, double z, float yaw, float pitch)
    • LivingEntity

      public LivingEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, UUID uuid, World world, double x, double y, double z, float yaw, float pitch)
    • LivingEntity

      public LivingEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, World world, double x, double y, double z, float yaw, float pitch)
    • LivingEntity

      public LivingEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, UUID uuid, Location location)
    • LivingEntity

      public LivingEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location)
  • Method Details

    • isHandActive

      public boolean isHandActive()
    • setHandActive

      public void setHandActive(boolean handActive)
    • getActiveHand

      public EquipmentSlot getActiveHand()
    • setActiveHand

      public void setActiveHand(EquipmentSlot activeHand)
    • isInRiptideSpinAttack

      public boolean isInRiptideSpinAttack()
    • setInRiptideSpinAttack

      public void setInRiptideSpinAttack(boolean inRiptideSpinAttack)
    • getHealth

      public float getHealth()
    • setHealth

      public void setHealth(float health)
    • getPotionEffectColor

      public int getPotionEffectColor()
    • setPotionEffectColor

      public void setPotionEffectColor(int potionEffectColor)
    • isPotionEffectAmbient

      public boolean isPotionEffectAmbient()
    • setPotionEffectAmbient

      public void setPotionEffectAmbient(boolean potionEffectAmbient)
    • getArrowsInEntity

      public int getArrowsInEntity()
    • setArrowsInEntity

      public void setArrowsInEntity(int arrowsInEntity)
    • getAbsorption

      public int getAbsorption()
    • setAbsorption

      public void setAbsorption(int absorption)
    • getSleepingLocation

      public org.cloudburstmc.math.vector.Vector3i getSleepingLocation()
    • setSleepingLocation

      public void setSleepingLocation(org.cloudburstmc.math.vector.Vector3i sleepingLocation)