Skip to content

OpenVoxelStudios/DP-Bundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datapack Bundler

Bundles multiple datapacks into one! Practical for releasing one datapack based on two or more (if you separate your animated java datapack from your main one, well this is for you).

Preview

Why?

This reduces the size of your datapack!

When using on my Doors Infestation project, it reduced by almost 9% (from 4.6MB to 4.2MB)! (with all options enabled)

Size reduction

Features

  • Bundle datapacks together up to 1.21 (and futher)!
  • Select main datapack for pack.png and pack.mcmeta
  • Bundle Options:
    • Remove empty lines
    • Remove comments
    • Remove non .json/.mcfunction/.nbt files
  • Zip the output datapack

How to use?

From release

You have access to compiled versions of this program. Click on the latest release and download the version for your operating system. This has support for Mac (M-Chip and Intel-Chip), Linux and Windows (x64).

  1. On Mac and Linux, once downloaded, you have to run chmod +x filepath first to make the file executable and then you can either run it from the terminal again or run it from your file explorer.
  2. On Windows, you can directly run the .exe from the file explorer by double clicking on it.

Manually

You need to have Bun installed.

# Clone the repository
git clone https://github.com/OpenVoxelStudios/DP-Bundler/
cd ./DP-Bundler
# Install the dependencies
bun install
# Run the code
bun index.ts

LICENSE

Code available under the MIT license

Copyright (c) 2024 OpenVoxel Studios

About

Bundles multiple datapacks into one!

Resources

License

Stars

Watchers

Forks

Packages

No packages published