• 1

    posted a message on [BuilderGPT] Generate minecraft building in 30 seconds with the power of AI




    Introduction

    GitHub Repo (Including downloads).
    BuilderGPT is an open source, free, AI-powered Minecraft structure generator. It was developed for minecraft map makers. It can generate structures in *.schem* format and users can import them via worldedit, etc.

    Showcase



    Get the key from here. You can use it in BuilderGPT.

    Partner


    Features

    [list]
    Generate structuresPreview rendered schematic in-programExport generated structures to *.schem* filesExport generated structures to *.mcfunction* filesAdvanced Mode (Use Stable Diffusion/DALL-E to generate the design image and let gpt-4-vision generate the structure base on it.)Edit structures[/list]

    Other projects of CubeGPT Team

    [list]
    Bukkit plugin generator. {*.jar*} (BukkitGPT)Structure generator. {*.schem*} (BuilderGPT)Serverpack generator. {*.zip*} (ServerpackGPT or ServerGPT, or..?)Have ideas or want to join our team? Send us an email![/list]

    How it works

    After the user enters a requirement, the program uses gpt-4-preview to expand the details of the requirement and generate a specific solution. The program then uses the generated solution to generate a drawing tag using gpt-4-preview, and then calls Stable Diffusion WebUI or DALL-E to generate a design using the generated tag. The generated schematic is then given to gpt-4-vision-preview along with the optimized requirements to generate a json containing the content of the structure, for example:

    {
        "materials": [
            "A: \"minecraft:air\"",
            "S: \"minecraft:stone\""
        ],
        "structures": [
            {
                "floor": 0,
                "structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
            },
            {
                "floor": 1,
                "structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
            },
            {
                "floor": 2,
                "structure": "SSGGGGSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
            },
            {
                "floor": 3,
                "structure": "SSSSSSSS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSAAAAAAS\nSSSSSSSS"
            },
            {
                "floor": 4,
                "structure": "SSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\nSSSSSSSS\n"
            }
        ]
    }



    The program then parses this json response. Then it uploads the image (headless) to cubical.xyz and downloads the rendered image from the site using playwright.

    Requirements
    You can use BukkitGPT on any device with Python 3+.

    And you need to install this package:

     pip install openai

    Quick Start

    (Make sure you have the Python environment installed on your computer)

    UI (HIGHLY RECOMMEND)
    [list=1]

    [list]
    Download Source Code.zip from the release page and unzip it.Edit config.yaml, fill in your OpenAI Apikey. If you don't know how, remember that Google and Bing are always your best friends.Run ui.py (bash python ui.py), enter the description and let GPT generate the structure.Find your structure in /generated/.schem.Import the file into the game via worldedit or other tools. (Google is your best friend~~)[/list]

    Contributing
    If you like the project, you can give the project a star, or submit an issue or pull request to help make it better.

    License

    Copyright [2024] [CubeGPT Team]
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        [url]http://www.apache.org/licenses/LICENSE-2.0[/url]
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    Posted in: Minecraft Tools
  • To post a comment, please .