Skip to content

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.

ModifierReturn TypeSignature
publicQuery<EntityStore>getQuery()
publicSet<Dependency<EntityStore>>getDependencies()
publicvoidtick(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.