NPCDamageSystems.DropDeathItems
Package: com.hypixel.hytale.server.npc.systems
public static class DropDeathItems extends EntityTickingSystem<EntityStore>Inner class of NPCDamageSystems. Ticking system that handles item drops on NPC death. Runs after DeathSystems.TickCorpseRemoval and before DeathSystems.CorpseRemoval. When an NPC dies with ItemsLossMode.ALL, drops inventory items and items from the configured drop list as item entities.
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | Query<EntityStore> | getQuery() |
public | Set<Dependency<EntityStore>> | getDependencies() |
public | void | tick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.