Giter Club home page Giter Club logo

hexlands's Introduction

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.19.x)

Note: Due to Mojang's changes to world generation, configuration will be different depending on which Minecraft version you are using! See the 1.18.x, 1.17.x, or 1.16.x versions of this documentation instead.

Worlds are now specified by World Presets due to a change from Mojang. HexLands can be customized by adding a new world preset. The default HexLands world presets can be found here, for HexLands, and HexLands (Overworld Only). They both make use of the hexlands:hexlands chunk generator.

In order to use a HexLands world for a specific dimension, you must change the generator field. It must be an object with the following properties:

  • 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. As in vanilla formats, this must be an object with a Name and Properties field. The Properties must be an object containing all possible block state properties in key-value pairs, and the Name field must be the name of the block.

Example

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

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

hexlands's People

Contributors

alcatrazescapee avatar anonlinux777 avatar superfluke avatar tehnut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.