diff --git a/docs/learn/overview.md b/docs/learn/overview.md index 020c9b6..2e6eeaf 100644 --- a/docs/learn/overview.md +++ b/docs/learn/overview.md @@ -89,6 +89,7 @@ print(`${world.get(Position, jecs.Name)} is a Component: ${world.has(Position, j ### Entity ranges Jecs reserves entity ids under a threshold (HI_COMPONENT_ID, default is 256) for components. That means that regular entities will start after this number. This number can be further specified via the `range` member function. +::: code-group ```luau [luau] world:range(1000, 5000) -- Defines the lower and upper bounds of the entity range respectively diff --git a/docs/resources.md b/docs/resources.md index 55269bf..a0d1523 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -32,8 +32,6 @@ - [Awesome Entity Component System (link collection related to ECS) - Jeongseok Lee](https://github.com/jslee02/awesome-entity-component-system) - [Hibitset - DOCS.RS](https://docs.rs/hibitset/0.6.3/hibitset/) ------------------- - ## Addons A collection of third-party jecs addons made by the community. If you would like to share what you're working on, [submit a pull request](/learn/contributing/pull-requests#addons)!