Class EntityPlayer
java.lang.Object
com.zenith.cache.data.entity.Entity
com.zenith.cache.data.entity.EntityLiving
com.zenith.cache.data.entity.EntityPlayer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected intprotected intprotected floatprotected booleanprotected intFields inherited from class com.zenith.cache.data.entity.EntityLiving
equipment, health, potionEffectMapFields inherited from class com.zenith.cache.data.entity.Entity
attributes, entityId, entityType, headYaw, isInVehicle, isLeashed, leashedId, metadata, objectData, passengerIds, pitch, removed, uuid, vehicleId, velX, velY, velZ, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackets(@NonNull Consumer<Packet> consumer) booleanisAlive()voidupdateAttributes(List<Attribute> attributes) Methods inherited from class com.zenith.cache.data.entity.EntityLiving
isSleepingMethods inherited from class com.zenith.cache.data.entity.Entity
blockPos, dismountVehicle, distanceSqTo, getEntityData, getMetadataValue, mountVehicle, position
-
Field Details
-
selfPlayer
protected boolean selfPlayer -
food
protected int food -
saturation
protected float saturation -
totalExperience
protected int totalExperience -
level
protected int level -
experience
protected float experience
-
-
Constructor Details
-
EntityPlayer
public EntityPlayer() -
EntityPlayer
public EntityPlayer(boolean selfPlayer)
-
-
Method Details
-
updateAttributes
- Overrides:
updateAttributesin classEntity
-
isAlive
public boolean isAlive()- Overrides:
isAlivein classEntityLiving
-
addPackets
- Overrides:
addPacketsin classEntityLiving
-