Skip to content

NonSerialized

Package: com.hypixel.hytale.component

public class NonSerialized<ECS_TYPE> implements Component<ECS_TYPE>

A marker component that prevents an entity from being serialized. When present in an entity’s archetype, the entity is excluded from persistence operations (hasSerializableComponents() returns false, getSerializableArchetype() returns empty). The component is a singleton.

public static <ECS_TYPE> NonSerialized<ECS_TYPE> get()

Returns the singleton instance.

  • NonTicking — the equivalent marker for disabling tick processing
  • Archetype — checks for NonSerialized in hasSerializableComponents()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.