← Назад к ресурсам

HexLands (Updated)

Hexagonal world generation, Settlers of Catan style! Updated to 1.21.8+

Modrinth worldgen

Описание

![Hex Lands](https://raw.githubusercontent.com/Patbox/hexlands/refs/heads/1.21.x/img/splash.png) This mod is an updated version of [Hex Lands](https://modrinth.com/mod/hexlands) mod by superfluke, updated through 1.16 to 1.21.1 by alcatrazEscapee. ### Features - Adds two world type presets: "HexLands", and "HexLands (Overworld)". The former which enables hexagonal terrain generation in both the overworld and the nether, the latter which only enables it in the overworld. - Each hex contains a single biome. Hexes of different types are bordered by walls. - Automatic compatibility with mods that add biomes to the overworld or other world generation. - Many options for world customization via data packs. ### Configuration - For [1.21.8+](https://github.com/patbox/hexlands/blob/1.21.x/README.md#configuration-data-packs) Worlds are specified by [World Presets](https://minecraft.wiki/w/World_preset). HexLands can be customized by adding a new world preset, which uses the `hexlands:hexlands` chunk generator. The hexlands chunk generator has the following fields: - `type` is a string identifying what generator to use. It should be `hexlands:hexlands`. - `settings` is a [Noise Settings](https://minecraft.wiki/w/Noise_settings) used by the dimension. - `biome_source` is the biome source, as in vanilla. It can be a known preset, such as `"minecraft:overworld"`, or `"minecraft:nether"`, or it can be a JSON object following the vanilla biome source format. - `hex_settings` is an object with parameters defining how the hexagonal grid works. It can either be a known preset, which must be one of `"hexlands:overworld"`, `"hexlands:nether"`, or `"hexlands:the_end"`, or it can be an object with the following fields: - `biome_scale` (Default: 8) is the scale at which biomes are sampled to create hexes. Higher values create more random biome layouts. - `hex_size` (Default: 40) is the size of an individual hex. - `hex_border_threshold` (Default: 0.92) is a number between `0` and `1` representing how much of a hex should be covered by the border. Larger values will lead to thinner borders. - `top_border` and `bottom_border` are both border settings which define how the top and bottom borders of the world are built. The borders between hexes consist of a bottom border, air, and a top border. If not present, this section of the border will consist entirely of air. If present, it must have the following fields: - `min_height`: The minimum height of the border. - `max_height`: The maximum height of the border. - `state`: A block state to generate as the border state. It must be an object with the following fields: - `Name`: The name of the block - `Properties`: An object with any block state properties, such as `{"snowy": "false"}` that you desire to set **Example** ```json5 // Below is an example object which can be used in the `generator` field of a world preset. { "type": "hexlands:hexlands", "settings": "minecraft:overworld", "biome_source": { "type": "minecraft:multi_noise", "preset": "minecraft:overworld" }, "hex_settings": "hexlands:overworld" } ``` ### Gallery ![Overworld Hexes](https://raw.githubusercontent.com/Patbox/hexlands/refs/heads/1.21.x/img/hex_overworld.png) ![Nether Hexes](https://raw.githubusercontent.com/Patbox/hexlands/refs/heads/1.21.x/img/hex_nether.png)