Class EntityLiving
java.lang.Object
com.zenith.cache.data.entity.Entity
com.zenith.cache.data.entity.EntityLiving
- Direct Known Subclasses:
EntityPlayer, EntityStandard
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<EquipmentSlot, ItemStack> protected @Nullable Floatprotected Map<Effect, PotionEffect> Fields inherited from class Entity
attributes, entityId, entityType, headYaw, isInVehicle, isLeashed, leashedId, metadata, objectData, passengerIds, pitch, removed, tickCount, uuid, vehicleId, velX, velY, velZ, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackets(@NonNull Consumer<Packet> consumer) protected booleanorg.cloudburstmc.math.vector.Vector2dboolean@Nullable FloatinthashCode()booleanisAlive()booleanisBaby()booleanbooleansetEquipment(Map<EquipmentSlot, ItemStack> equipment) setPotionEffectMap(Map<Effect, PotionEffect> potionEffectMap) toString()Methods inherited from class Entity
blockPos, collisionBox, dismountVehicle, distanceSqTo, getAttributes, getEntityData, getEntityId, getEntityType, getHeadYaw, getLeashedId, getMetadata, getMetadataValue, getObjectData, getPassengerIds, getPitch, getPose, getTickCount, getUuid, getVehicleId, getVelX, getVelY, getVelZ, getX, getY, getYaw, getZ, isInVehicle, isLeashed, isRemoved, mountVehicle, position, setAttributes, setEntityId, setEntityType, setHeadYaw, setInVehicle, setLeashed, setLeashedId, setMetadata, setObjectData, setPassengerIds, setPitch, setRemoved, setTickCount, setUuid, setVehicleId, setVelX, setVelY, setVelZ, setX, setY, setYaw, setZ, updateAttributes
-
Field Details
-
health
-
potionEffectMap
-
equipment
-
-
Constructor Details
-
EntityLiving
public EntityLiving()
-
-
Method Details
-
addPackets
- Overrides:
addPacketsin classEntity
-
isAlive
public boolean isAlive() -
isSleeping
public boolean isSleeping() -
isSwimming
public boolean isSwimming() -
isBaby
public boolean isBaby() -
dimensions
public org.cloudburstmc.math.vector.Vector2d dimensions()- Overrides:
dimensionsin classEntity
-
getHealth
-
getPotionEffectMap
-
getEquipment
-
setHealth
- Returns:
this.
-
setPotionEffectMap
- Returns:
this.
-
setEquipment
- Returns:
this.
-
toString
-
equals
-
canEqual
-
hashCode
-