All A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
class Damage

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.

class Damage.EnvironmentSource

com.hypixel.hytale.server.core.modules.entity.damage

Environment damage source. Create with new Damage.EnvironmentSource(name).

abstract Damage.Source

com.hypixel.hytale.server.core.modules.entity.damage

Interface for damage sources. Use Damage.EnvironmentSource for custom sources.

class DamageCause

com.hypixel.hytale.server.core.modules.entity.damage

Enum/registry of damage causes like FALL, DROWNING, FIRE, ATTACK, etc. Used when creating Damage events.

class DeathComponent

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

class DeferredCorpseRemoval

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()