Skip to content

The Hex Lands mod, originally by superfluke et. al., updated to 1.16.5 and beyond by AlcatrazEscapee

License

Notifications You must be signed in to change notification settings

alcatrazEscapee/hexlands

 
 

Repository files navigation

Hex Lands

This mod is an updated and rewritten version of the original Hex Lands mod by superfluke, et. al. It has been rewritten completely for new Minecraft versions.

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 (Data Packs - 1.21)

Note: Due to Mojang's changes to world generation, configuration will be different depending on which Minecraft version you are using!

Worlds are specified by World Presets. 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 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

// 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 Nether Hexes

With Oh The Biomes You'll Bo:

BYG Overworld Hexes BYG Nether Hexes BYG End Hexes

With Biomes O Plenty

Biomes O Plenty Overworld Hexes

About

The Hex Lands mod, originally by superfluke et. al., updated to 1.16.5 and beyond by AlcatrazEscapee

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Java 100.0%