A downloadable tool for Windows and Linux

Buy Now$2.49 USD or more

BGM - The Block Generator for Minecraft is a tool that can be used for the generation of Minecraft blocks.

(See the official product page or doc/ within the download for additional information)

The demo version is equal to the full version and only restricts the final output size and fails if it is too large. Therefore please get the demo version and try it before buying the full version. This ensures that everything runs smoothly for you.

The full and up-to-date documentation is also shipped with both the demo and full version.

Please note that this is a very early version. The syntax will likely change in the future.


Examples

sphere 5
movedBy [30 0 0] {
    sphere 7
}
material "birch_log" {
  movedBy [60 0 0] {
      sphere 10
  }
}



// put POSITION
put [0 0 2]
put [1 2 3]
put [1 2 4]
put [1 2 5]


// sphere RADIUS
sphere 5
// cube SIZE
movedBy [15 0 0] {
    cube 5
}
// box SIZE_X SIZE_Y SIZE_Z
movedBy [30 0 0] {
    box 5 7 9
}
// disc DIRECTION RADIUS
movedBy [45 0 0] {
    disc y 6
}
// cylinder DIRECTION RADIUS HEIGHT
movedBy [60 0 0] {
    cylinder y 6 30
}


// material "NAME" {}
material "cobblestone" {
    sphere 30
}
movedBy [10 0 0] {
    material "birch_wood" {
        sphere 30
    }
}

// for NAME in START..END {}
for i in 1..10 {
    movedBy [i 0 0] {
        cylinder y 3 i
    }
}

// difference {} {}
difference {
    sphere 30
} {
    movedBy [15 0 0] {
        sphere 20
    }
}



// intersection {} {}
intersection {
    sphere 20
} {
    movedBy [15 0 0] {
        sphere 20
    }
}




// extruded POSITION {}
extruded [30 30 30] {
    sphere 10
}


mirrored x {
    movedBy [30 0 0] {
        sphere 30
    }
}



sphere 20
movedBy [15 0 0] {
    surrounded "birch_wood" {
        sphere 20
    }
}


All currently available functions

// Place a single block
put
  
// Define a function
fn foo(a b c) {}
  
// Call a function
call foo(1 2 3)
  
// Conditions
if i == 3 {}
  
// Setting block material
material "cobblestone" {}
  
// Moving relative
movedBy [1 2 3] {}
  
// Moving absolute
movedTo [1 2 3] {}
  
// Copying relative
copiedBy [1 2 3] {}
  
// Copying absolute
copiedTo [1 2 3] {}
  
// For loops
for i in 4..18 {}
  
// Difference between two scopes
difference {} {}
  
// Intersection between two scopes
intersection {} {}
  
// Extrusion
extrude [1 2 3] {}
  
// Hollowing, only keeping border blocks
hollowed {}
  
// Mirroring
mirrored x {}
  
// Flipping
flipped x {}
  
// Surrounding with other blocks
surrounded "cobblestone" {}
  
// Replacing blocks of certain material
replaced "cobblestone" "water" {}
  
// Removal of blocks of certain material
removed "cobblestone" {}
  
// Filtering blocks by material
only "water" {}
  


Feedback / bugs

Feel free to use the comment section to leave any feedback or report bugs. I'd love to further improve BGM.

I signed all the releases with my PGP key.


Purchase

Buy Now$2.49 USD or more

In order to download this tool you must purchase it at or above the minimum price of $2.49 USD. You will get access to the following files:

bgm-0-0-2.zip 8 MB

Download demo

Download
bgm-0-0-2-demo.zip 8 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.