1 karma · joined Nov 21, 2022 (4y ago) · 1 submissions
comment 11y ago · link · parent
Code example goes like something this:
// var scene = (some babylon js stuff here, - sorry, messy)
var WE = new Worldedit(scene);
WE
.select([-4, 0, -4])
.set("cobblestone")
.move([0, 2, 0])
.select([0, -5, 7], [-1, -1, 6])
.set("dirt")
Suppose I should consider finishing this library, namely porting it from BabylonJS to three.js, finishing worledit functions, etc but thought it was a fun exploration of babylonjs and raw files from minecraft (the textures are just extracted from the minecraft jar file).