class

Holder

Entity blueprint/staging area for collecting components before entity creation. Create with EntityStore.REGISTRY.newHolder(), add components with addComponent(componentType, component), then pass to store.addEntity(holder, AddReason).

Methods

Holder addComponent()

Adds component to blueprint. Params: (ComponentType type, Component component). Returns this for chaining.

void ensureComponent()

Ensures component exists with default value. Params: (ComponentType type)