abstract class LivingEntity extends Entity
Class LivingEntity. Provides livingentity functionality for the Hytale server.
java.lang.Object > Entity > LivingEntity
Field Summary
inventory
Field inventory.
currentFallDistance
Field currentFallDistance.
armorInventoryChangeEventRegistration
Field armorInventoryChangeEventRegistration.
isEquipmentNetworkOutdated
Field isEquipmentNetworkOutdated.
invulnerable
Field invulnerable.
world
Field world.
lookVec
Field lookVec.
position
Field position.
chunkStore
Field chunkStore.
chunkIndex
Field chunkIndex.
chunkRef
Field chunkRef.
remainder
Field remainder.
transactionList
Field transactionList.
transformComponent
Field transformComponent.
movementStatesComponent
Field movementStatesComponent.
movementStates
Field movementStates.
fallDamageActive
Field fallDamageActive.
item
Field item.
section
Field section.
transaction
Field transaction.
updatedItemStack
Field updatedItemStack.
temp
Field temp.
Method Detail
LivingEntity
public
LivingEntity
()
Method LivingEntity.
canBreathe
boolean
canBreathe
(@Nonnull final Ref ref, @Nonnull final BlockMaterial breathingMaterial, final int fluidId, @Nonnull final ComponentAccessor componentAccessor)
Method canBreathe.
- Parameters:
@Nonnull final Refref@Nonnull final BlockMaterialbreathingMaterialfinal intfluidId@Nonnull final ComponentAccessorcomponentAccessor
getPackedMaterialAndFluidAtBreathingHeight
long
getPackedMaterialAndFluidAtBreathingHeight
(@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)
Method getPackedMaterialAndFluidAtBreathingHeight.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor
moveTo
void
moveTo
(@Nonnull final Ref ref, final double locX, final double locY, final double locZ, @Nonnull final ComponentAccessor componentAccessor)
Method moveTo.
- Parameters:
@Nonnull final Refreffinal doublelocXfinal doublelocYfinal doublelocZ@Nonnull final ComponentAccessorcomponentAccessor
canDecreaseItemStackDurability
boolean
canDecreaseItemStackDurability
(@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)
Method canDecreaseItemStackDurability.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor
canApplyItemStackPenalties
boolean
canApplyItemStackPenalties
(final Ref ref, final ComponentAccessor componentAccessor)
Method canApplyItemStackPenalties.
- Parameters:
final Refreffinal ComponentAccessorcomponentAccessor
decreaseItemStackDurability
ItemStackSlotTransaction
decreaseItemStackDurability
(@Nonnull final Ref ref, @Nullable final ItemStack itemStack, final int inventoryId, final int slotId, @Nonnull final ComponentAccessor componentAccessor)
Method decreaseItemStackDurability.
- Parameters:
@Nonnull final Refref@Nullable final ItemStackitemStackfinal intinventoryIdfinal intslotId@Nonnull final ComponentAccessorcomponentAccessor
updateItemStackDurability
ItemStackSlotTransaction
updateItemStackDurability
(@Nonnull final Ref ref, @Nonnull final ItemStack itemStack, final ItemContainer container, final int slotId, final double durabilityChange, @Nonnull final ComponentAccessor componentAccessor)
Method updateItemStackDurability.
- Parameters:
@Nonnull final Refref@Nonnull final ItemStackitemStackfinal ItemContainercontainerfinal intslotIdfinal doubledurabilityChange@Nonnull final ComponentAccessorcomponentAccessor
invalidateEquipmentNetwork
void
invalidateEquipmentNetwork
()
Method invalidateEquipmentNetwork.
consumeEquipmentNetworkOutdated
boolean
consumeEquipmentNetworkOutdated
()
Method consumeEquipmentNetworkOutdated.
getStatModifiersManager
Method getStatModifiersManager.
getCurrentFallDistance
double
getCurrentFallDistance
()
Method getCurrentFallDistance.
setCurrentFallDistance
void
setCurrentFallDistance
(final double currentFallDistance)
Method setCurrentFallDistance.
- Parameters:
final doublecurrentFallDistance
toString
String
toString
()
Method toString.