Contents
Class EncounterMemberSystems
java.lang.Object
com.hypixel.hytale.builtin.encountermanager.EncounterMemberSystems
ECS systems driving
EncounterMembers and the EncounterMemberConsumers layered on it.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDecays each encounter's member time-to-live, dropping members whose TTL lapsed, and re-applies the desired state to the rest. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrevertAndClearMembers(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef) Reverts every member of an encounter and clears its membership.
-
Method Details
-
revertAndClearMembers
public static void revertAndClearMembers(@Nonnull ComponentAccessor<EntityStore> accessor, @Nonnull Ref<EntityStore> encounterRef) Reverts every member of an encounter and clears its membership. Used on encounter teardown, where there is no tick to decay the time-to-live.
-