Skip to content

MemoriesPlugin.PlayerAddedSystem

Package: com.hypixel.hytale.builtin.adventure.memories

public static class PlayerAddedSystem extends RefSystem<EntityStore>

ECS system that runs after PlayerSystems.PlayerSpawnedSystem. When a player entity is added, sends an UpdateMemoriesFeatureStatus packet to the player’s connection indicating whether the memories feature is unlocked (i.e., whether the player has a PlayerMemories component).

ModifierReturn TypeSignature
publicQuery<EntityStore>getQuery()
publicSet<Dependency<EntityStore>>getDependencies()
publicvoidonEntityAdded(@Nonnull Ref<EntityStore> ref, @Nonnull AddReason reason, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer)
publicvoidonEntityRemove(@Nonnull Ref<EntityStore> ref, @Nonnull RemoveReason reason, @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.