classpublicabstractPriority 1
LivingEntity
com.hypixel.hytale.server.core.entity.LivingEntity
extends Entity
14
Methods
14
Public Methods
4
Fields
2
Constructors
Constants
BuilderCodec<LivingEntity>CODEC= BuilderCodec.abstractBuilder(LivingEntity.class, Entity.CODEC)
.append(new KeyedCodec<>("In...
intDEFAULT_ITEM_THROW_SPEED= 6
Constructors
public
LivingEntity()public
LivingEntity(World world)Methods
Public Methods (14)
public
boolean canApplyItemStackPenalties(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)public
boolean canDecreaseItemStackDurability(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)public
boolean consumeEquipmentNetworkOutdated()public
double getCurrentFallDistance()public
Inventory getInventory()publicstatic
long getPackedMaterialAndFluidAtBreathingHeight(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)public
StatModifiersManager getStatModifiersManager()@Nonnull
public
void invalidateEquipmentNetwork()public
void moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor)@Override
public
void setCurrentFallDistance(double currentFallDistance)public
Inventory setInventory(Inventory inventory)@Nonnull
public
Inventory setInventory(Inventory inventory, boolean ensureCapacity)@Nonnull
public
Inventory setInventory(Inventory inventory, boolean ensureCapacity, List<ItemStack> remainder)@Nonnull
public
String toString()@Nonnull@Override
Fields
Protected Fields (1)
protected
double currentFallDistancePrivate/Package Fields (3)
private
EventRegistration armorInventoryChangeEventRegistrationprivate
Inventory inventoryprivate
boolean isEquipmentNetworkOutdated