Init
This commit is contained in:
35
content/world/_index.en.md
Normal file
35
content/world/_index.en.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: World
|
||||
type: docs
|
||||
weight: 4
|
||||
---
|
||||
|
||||
World management in Hytale covers universes, worlds, chunks, and blocks.
|
||||
|
||||
{{< cards >}}
|
||||
{{< card link="universe-and-worlds" title="Universe & Worlds" subtitle="World hierarchy and management" >}}
|
||||
{{< card link="chunks" title="Chunks" subtitle="Chunk loading and storage" >}}
|
||||
{{< card link="blocks" title="Blocks" subtitle="Block manipulation" >}}
|
||||
{{< card link="player-refs" title="PlayerRef" subtitle="Cross-world player references" >}}
|
||||
{{< card link="worldgen" title="World Generation" subtitle="Terrain, biomes, and structures" icon="globe" >}}
|
||||
{{< card link="portals" title="Portals" subtitle="Inter-world travel and teleportation" icon="link" >}}
|
||||
{{< card link="entities" title="Entities" subtitle="Players, creatures, and ECS components" icon="user" >}}
|
||||
{{< card link="interactions" title="Interactions" subtitle="Block and entity interactions" icon="cursor-click" >}}
|
||||
{{< /cards >}}
|
||||
|
||||
## World Hierarchy
|
||||
|
||||
```
|
||||
Universe (singleton)
|
||||
└── World (multiple)
|
||||
└── Chunk (many)
|
||||
└── Block (many)
|
||||
```
|
||||
|
||||
## Quick Access
|
||||
|
||||
```java
|
||||
Universe universe = Universe.get();
|
||||
World world = universe.getWorld("default");
|
||||
Collection<World> allWorlds = universe.getWorlds().values();
|
||||
```
|
||||
Reference in New Issue
Block a user