Coder Social home page Coder Social logo

killcerr / iminecraft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lovelylavender4/iminecraft

0.0 0.0 0.0 66 KB

A Minecraft BDS Plugin for Modifying Features and World-Related Generation.

License: GNU Lesser General Public License v3.0

C++ 75.53% Python 3.39% C 2.06% Lua 19.02%

iminecraft's Introduction

iMinecraft

iMinecraft

English

iMinecraft is a Minecraft BDS plugin for modifying features and world generation related content.

Important

The author is in school and may only have a day or two to write and commit code every half month or so!

Install

Usage

Config

OverallConfig

When you run the plugin for the first time, it will generate its corresponding configuration file. The config.json file is the overall configuration for the plugin, adhering to standard JSON format. The default content of config.json is as follows:

{
    "debug": false,
    "enable": true,
    "enable_log": true,
    "format_version": 0,
    "path": {
        "features_config": "config/features.json",
        "overall_config": "config/config.json"
    }
}

Its counterpart is explained as:

{
    // If true, debug mode is enabled.
    "debug": /* 'true' or 'false' */,
    // If true, the plugin is enabled.
    "enable": /* 'true' or 'false' */,
    // If true, plugin logging is enabled.
    "enable_log": /* 'true' or 'false' */,
    // Formatted version number for backward compatibility
    "format_version": /* 'integer' */,
    // Relative path to the accompanying file
    "path": {
        // Relative path to itself.
        "features_config": /* 'string' */,
        // Relative path to the feature configuration file.
        "overall_config": /* 'string' */
    }
}

FeaturesConfig

The features.json file will be used for configuring world generation and related aspects such as terrain features. The default content of features.json is as follows:

{
    "features": {
        "structures": {
            "village": {
                "enable": true,
                "min_town_separation": -1,
                "spawn": true,
                "specified_chunk_position": [],
                "town_spacing": -1
            }
        }
    }
}

Its counterpart is explained as:

{
    // Configuration of feature-related.
    "features": {
        // Configuration of structure-related features.
        "structures": {
            // The configuration of features related to villages.
            "village": {
                // Is this sub-configuration allowed?
                "enable": /* 'true' or 'false' */,
                // The setting of minimum town spacing,
                // with -1 indicating the use of the original default spacing.
                "min_town_separation": /* '-1' or integer */,
                // If set to false, village generation will be disabled.
                "spawn": /* 'true' or 'false' */,
                // Operating configuration at a specific chunk coordinate.
                "specified_chunk_position": [
                    /** Example.
                    {
                        // Whether to generate a village at this coordinate.
                        "spawn": 'true' or 'false',
                        // Is this sub-configuration allowed?
                        "enable": 'true' or 'false',
                        // chunk coordinate.
                        "position": [ 'integer', 'integer' ]
                    }
                    */
                ],
                // The setting of town spacing,
                // with -1 indicating the use of the original default spacing.
                "town_spacing": /* '-1' or integer */
            }
        }
    }
}

Star History

Star History Chart

⭐Contributing⭐

Important

You can contribute to the iMinecraft project in the following ways

  • ⭐ Add new functionality by pulling request contribution code
  • ⭐ Help me modify or optimize documents
  • ⭐ Feedback on GitHub Issues for problems, suggestions, etc.
  • ⭐ Help us promote iMinecraft and support my development!

Very much looking forward to and welcoming your contribution!

iMinecraft follows the Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

Contributors

License

Copyright © 2024 Lovelylavender4, All rights reserved.

This project is licensed under the LGPL-3.0 License - see the COPYING and COPYING.LESSER files for details.

iminecraft's People

Contributors

lovelylavender4 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.