Package com.loohp.limbo.entity
Class Entity
java.lang.Object
com.loohp.limbo.entity.Entity
- All Implemented Interfaces:
net.kyori.adventure.sound.Sound.Emitter
- Direct Known Subclasses:
LivingEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected boolean
protected net.kyori.adventure.text.Component
protected boolean
protected boolean
protected int
protected int
protected boolean
protected boolean
protected boolean
protected boolean
protected float
protected org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose
protected boolean
protected boolean
protected boolean
protected final org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType
protected boolean
protected UUID
protected World
protected double
protected double
protected float
protected double
-
Constructor Summary
ConstructorsConstructorDescriptionEntity
(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
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) Entity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, World world, double x, double y, double z, float yaw, float pitch) Entity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, UUID uuid, Location location) 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) -
Method Summary
Modifier and TypeMethodDescriptionint
getAir()
net.kyori.adventure.text.Component
int
float
getPitch()
org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose
getPose()
org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType
getType()
getWorld()
double
getX()
double
getY()
float
getYaw()
double
getZ()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOnFire()
boolean
isSilent()
boolean
boolean
boolean
isValid()
void
remove()
void
setAir
(int air) void
setCrouching
(boolean crouching) void
setCustomName
(String name) void
setCustomName
(net.kyori.adventure.text.Component component) void
setCustomNameVisible
(boolean customNameVisible) void
setElytraFlying
(boolean elytraFlying) void
setGlowing
(boolean glowing) void
setGravity
(boolean gravity) void
setInvisible
(boolean invisible) void
setOnFire
(boolean onFire) void
setPitch
(float pitch) void
setPose
(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose) void
setSilent
(boolean silent) void
setSprinting
(boolean sprinting) void
setSwimming
(boolean swimming) void
void
setX
(double x) void
setY
(double y) void
setYaw
(float yaw) void
setZ
(double z) void
-
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
-
world
-
x
protected double x -
y
protected double y -
z
protected double z -
yaw
protected float yaw -
pitch
protected float pitch
-
-
Constructor Details
-
Method Details
-
getType
public org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType getType() -
getLocation
-
teleport
-
getCustomName
public net.kyori.adventure.text.Component getCustomName() -
setCustomName
-
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
-
setWorld
-
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
-
isValid
public boolean isValid() -
remove
public void remove() -
getDataWatcher
-