Skip to content

Commit

Permalink
Add version numbering, change default minecraft version to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
smaldragon committed Jul 30, 2022
1 parent 5f1b688 commit 776ff9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# FoxelMap

FoxelMap is a (as of now crude) python command-line offline 1.16.5 VoxelMap renderer that attempts to provide a customizable offline option for rendering voxelmap cache files, as well as adding extra modes and settings:
FoxelMap is a (as of now crude) python command-line offline 1.16.5 to 1.19 VoxelMap renderer that attempts to provide a customizable offline option for rendering voxelmap cache files, as well as adding extra modes and settings:

![example](debug_render_tile.png)

As of now it supports most but not all blockstates (namely waterlogged blocks). It also does not match voxelmap output 1:1 (and likely never will).

## Usage

**FoxelMap 0.1** - Back from Hiatus

Copy the VoxelMap cache `.zip` files of the world and dimension you wish to render into a new folder named `world`inside the Foxelmap directory

To render the center regions of your world do `python foxelmap.py --radius 3 --stitch`, the output should then appear in `out/`!
Expand Down
10 changes: 5 additions & 5 deletions foxelmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
# Biome tints are currently hard-coded (using values from minecraft wiki)
# No mod support (sorry)
# No resource pack support
# Only supports latest voxelmap version/format (and only tested with minecraft 1.16.5)
# Block slopes breaks across region edges
# Different toggles for terrain/slope/water not yet avaliable
# Only supports/tested with the overworld dimension
# Add better help/documentation
# Send a single variable for atlases and modes

def main(argv):
intro = "FoxelMap 0.1 | back from hiatus \n foxelmap.py -x \"x1,x2\" -z \"z1,z2\""

calculate_atlas = False
generate_atlas = False
bounds_x = None
Expand All @@ -46,19 +47,18 @@ def main(argv):
time_of_day = "day"
bedrock = False
zoom = 0
version = 17
version = 19

try:
opts, args = getopt.getopt(argv,"ham:w:c:t:v:",
["all","stitch","radius=","mode=","world=","light=","bedrock","help","cx=","cz=","zoom=","heightslice=","layer=","noyshading","atlas","atlasgen"]
)
except getopt.GetoptError:
print("foxelmap.py -x \"x1,x2\" -z \"z1,z2\"")
print(intro)
sys.exit(2)
for opt,arg in opts:
if opt in ('-h','--help'):
print ("FoxelMap Renderer")
print (".\\foxelmap.py -x \"-1,1\" -z \"-1,1\"")
print (intro)
print("")
print("\t -v <version> - the minecraft version to render (17/18/19)")
print("")
Expand Down

0 comments on commit 776ff9e

Please sign in to comment.