Skip to content

a lightweight format to store minecraft worlds, it's based of the Polar format, but with a few changes.

License

Notifications You must be signed in to change notification settings

CraftUniverse/PolarLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolarLite

Build

The PolarLite format is a lightweight format to store minecraft worlds, it's based of the Polar format, but with a few changes.

Table of Contents

Format Changes

A list of changes between Polar and PolarLite

  • Made zstd compression a must
    • Instead of compressing the World-field, it compressed the entire file
  • Changed from Network Buffer to MessagePack
  • Changed file extension from .polar to .polarlite
  • Changed Magic Number from Polr to PolrLte
  • Removed Array length fields
  • Removed User Data-fields
  • Removed Block Palette's
    • Block Palette Data using Blockstate IDs
    • Blockstate IDs are providied by the Registry
  • Removed Biome Palette's
    • Biome Palette Data using Biome IDs
    • Biome IDs are providied by the Registry
  • Removed Block Light and Sky Light
  • Removed Has ID from Block Entity
    • Block Entity ID will be null instead

Run

go run cmd/polarlite/main.go <arguments>

CLI

polarlite
    --help, -h
        Show this message and exists

    --version, -v
        Prints version and exists

    --world, -w <string>
        Path to the world folder

    --output, -o <string>
        Path to the output file

License

PolarLite © 2025 by CraftUniverse is licensed under Creative Commons Attribution-ShareAlike 4.0 International

Contributers

About

a lightweight format to store minecraft worlds, it's based of the Polar format, but with a few changes.

Topics

Resources

License

Stars

Watchers

Forks

Languages