com.hypixel.hytale.server.core.modules.entity.damage
Cancellable ECS event for damage. Create with new Damage(source, cause, amount). Methods: getAmount(), setAmount(float), getSource(), getCause(), isCancelled(), setCancelled(boolean). Source types: EntitySource, ProjectileSource, EnvironmentSource, CommandSource.
com.hypixel.hytale.server.core.modules.entity.damage
Environment damage source. Create with new Damage.EnvironmentSource(name).
com.hypixel.hytale.server.core.modules.entity.damage
Interface for damage sources. Use Damage.EnvironmentSource for custom sources.
com.hypixel.hytale.server.core.modules.entity.damage
Enum/registry of damage causes like FALL, DROWNING, FIRE, ATTACK, etc. Used when creating Damage events.
com.hypixel.hytale.server.core.modules.entity.damage
Methods: static void executeDamage(com.hypixel.hytale.component.Ref<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, com.hypixel.hytale.component.ComponentAccessor<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, com.hypixel.hytale.server.core.modules.entity.damage.Damage); static void executeDamage(int, com.hypixel.hytale.component.ArchetypeChunk<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, com.hypixel.hytale.component.CommandBuffer<com.hypixe
com.hypixel.hytale.server.core.modules.entity.damage
Methods: static com.hypixel.hytale.component.ComponentType<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.modules.entity.damage.DeferredCorpseRemoval> getComponentType(); boolean tick(float); com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> clone(); java.lang.Object clone()