Class DamageMemory

java.lang.Object
com.hypixel.hytale.builtin.npccombatactionevaluator.memory.DamageMemory
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class DamageMemory extends Object implements Component<EntityStore>
Stores damage taken by an NPC for use by the CombatActionEvaluator and related conditions, split by DamageSourceType and damage cause index.

Recent damage is cleared each time the combat action evaluator executes. Total damage is cleared when the NPC is not in combat.

  • Constructor Details

    • DamageMemory

      public DamageMemory()
  • Method Details