Contents
Class SpawnReferenceSystems
java.lang.Object
com.hypixel.hytale.server.npc.systems.SpawnReferenceSystems
Handles the heartbeat between NPCs and their
SpawnMarkerEntity or LegacySpawnBeaconEntity via the SpawnReference component present
on NPCs spawned from one of these sources, as well as informing the marker or beacon of the NPC's removal.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA ref system that handles correctly linking up NPC entities with their correspondingLegacySpawnBeaconEntityon load.static classA ref system that handles correctly linking up NPC entities with their correspondingSpawnMarkerEntityon load.static classDisconnects a spawned NPC from itsSpawnMarkerEntityas soon as it dies, rather than waiting for the corpse to be removed.static classAn entity ticking system for ticking the spawn beacon of an NPC entitystatic classAn entity ticking system that handles ticking the spawn marker of an NPC entity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidremoveNPCsForMarker(Ref<EntityStore> markerRef, Store<EntityStore> store)
-
Constructor Details
-
SpawnReferenceSystems
public SpawnReferenceSystems()
-
-
Method Details
-
removeNPCsForMarker
public static void removeNPCsForMarker(@Nonnull Ref<EntityStore> markerRef, @Nonnull Store<EntityStore> store)
-