Files
Documentation/content/world/_index.en.md
2026-01-20 20:33:59 +01:00

36 lines
1.2 KiB
Markdown

---
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();
```