Download HexLands — Minecraft Mods — MetaMods
HexLands

HexLands

Active

Downloads

2

Last update

1 year ago

Versions

1.16.5 — 1.21.1
Server
Fabric
Forge
Neoforge

HexLands - Hexagonal World in Minecraft

Hex Lands

This mod is a completely reworked and updated version of the original Hex Lands project by superfluke and other developers. The code has been entirely rewritten for compatibility with modern Minecraft versions.

Main Features

The mod adds two world presets: "HexLands" and "HexLands (Overworld)". The first option enables hexagonal terrain generation in both the Overworld and the Nether, while the second applies it only to the main dimension.

Each hexagon on the map corresponds to one biome. Natural boundaries in the form of walls are automatically formed between different types of hexes. The system is automatically compatible with other mods that add new biomes or modify world generation.

Configuration via Data Packs (Versions 1.19.x - 1.20.x)

Important: Due to changes in Mojang's world generation system, the configuration process differs for different Minecraft versions. For versions 1.18.x, 1.17.x, and 1.16.x, refer to the corresponding documentation.

In modern Minecraft versions, worlds are defined through World Presets. To configure HexLands, you need to create a new world preset. Standard presets can be found in the mod's source code - they use the special chunk generator hexlands:hexlands.

To use HexLands in a specific dimension, you need to modify the generator field. It should contain an object with the following parameters:

  • type - string defining the generator to use. Should be hexlands:hexlands
  • settings - noise settings for the dimension
  • biome_source - biome source, as in vanilla game. Can be a standard preset like "minecraft:overworld" or "minecraft:nether", or a JSON object in vanilla format
  • hex_settings - object with hexagonal grid parameters. Can be a standard preset ("hexlands:overworld", "hexlands:nether", "hexlands:the_end") or contain the following fields:
    • biome_scale (default: 8) - scale for sampling biomes to create hexes. Higher values create more random biome distribution
    • hex_size (default: 40) - size of an individual hex
    • hex_border_threshold (default: 0.92) - number from 0 to 1 determining how much of a hex should be covered by the border. Higher values create thinner borders
    • top_border and bottom_border - settings for the top and bottom borders of the world. Borders between hexes consist of bottom border, air, and top border. If not specified, this section will be entirely air. If present, must contain:
      • min_height: minimum border height
      • max_height: maximum border height
      • state: block state for generating the border. As in vanilla formats, should be an object with Name and Properties fields

Configuration Example

Below is an example object that can be used in the generator field of a world preset:

// Example object for the generator field in a world preset
{
    "type": "hexlands:hexlands",
    "settings": "minecraft:overworld",
    "biome_source": {
      "type": "minecraft:multi_noise",
      "preset": "minecraft:overworld"
    },
    "hex_settings": "hexlands:overworld"
}
Project members
alcatrazEscapee

alcatrazEscapee

Developer

Created: 7 May 2023

ID: 7482