Class Entity

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

public abstract class Entity extends Object implements net.kyori.adventure.sound.Sound.Emitter
  • Field Details

    • onFire

      protected boolean onFire
    • crouching

      protected boolean crouching
    • unused

      protected boolean unused
    • sprinting

      protected boolean sprinting
    • swimming

      protected boolean swimming
    • invisible

      protected boolean invisible
    • glowing

      protected boolean glowing
    • elytraFlying

      protected boolean elytraFlying
    • air

      protected int air
    • customName

      protected net.kyori.adventure.text.Component customName
    • customNameVisible

      protected boolean customNameVisible
    • silent

      protected boolean silent
    • noGravity

      protected boolean noGravity
    • pose

      protected org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose
    • frozenTicks

      protected int frozenTicks
    • type

      protected final org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type
    • entityId

      protected int entityId
    • uuid

      protected UUID uuid
    • world

      protected World world
    • x

      protected double x
    • y

      protected double y
    • z

      protected double z
    • yaw

      protected float yaw
    • pitch

      protected float pitch
  • Constructor Details

    • Entity

      public Entity(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)
    • Entity

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

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

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

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

    • getType

      public org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType getType()
    • getLocation

      public Location getLocation()
    • teleport

      public void teleport(Location location)
    • getCustomName

      public net.kyori.adventure.text.Component getCustomName()
    • setCustomName

      public void setCustomName(String name)
    • setCustomName

      public void setCustomName(net.kyori.adventure.text.Component component)
    • isOnFire

      public boolean isOnFire()
    • setOnFire

      public void setOnFire(boolean onFire)
    • isCrouching

      public boolean isCrouching()
    • setCrouching

      public void setCrouching(boolean crouching)
    • isSprinting

      public boolean isSprinting()
    • setSprinting

      public void setSprinting(boolean sprinting)
    • isSwimming

      public boolean isSwimming()
    • setSwimming

      public void setSwimming(boolean swimming)
    • isInvisible

      public boolean isInvisible()
    • setInvisible

      public void setInvisible(boolean invisible)
    • isGlowing

      public boolean isGlowing()
    • setGlowing

      public void setGlowing(boolean glowing)
    • isElytraFlying

      public boolean isElytraFlying()
    • setElytraFlying

      public void setElytraFlying(boolean elytraFlying)
    • getAir

      public int getAir()
    • setAir

      public void setAir(int air)
    • isCustomNameVisible

      public boolean isCustomNameVisible()
    • setCustomNameVisible

      public void setCustomNameVisible(boolean customNameVisible)
    • isSilent

      public boolean isSilent()
    • setSilent

      public void setSilent(boolean silent)
    • hasGravity

      public boolean hasGravity()
    • setGravity

      public void setGravity(boolean gravity)
    • getPose

      public org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose getPose()
    • setPose

      public void setPose(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose)
    • getWorld

      public World getWorld()
    • setWorld

      public void setWorld(World world)
    • getX

      public double getX()
    • setX

      public void setX(double x)
    • getY

      public double getY()
    • setY

      public void setY(double y)
    • getZ

      public double getZ()
    • setZ

      public void setZ(double z)
    • getYaw

      public float getYaw()
    • setYaw

      public void setYaw(float yaw)
    • getPitch

      public float getPitch()
    • setPitch

      public void setPitch(float pitch)
    • getEntityId

      public int getEntityId()
    • getUniqueId

      public UUID getUniqueId()
    • isValid

      public boolean isValid()
    • remove

      public void remove()
    • getDataWatcher

      public DataWatcher getDataWatcher()