☘️ A simple command line tool to manage your Minecraft Bedrock worlds

Related tags

Command-line haze
Overview

☘️ Haze

A simple command line tool to manage your Minecraft Bedrock worlds

Haze allows you to keep your project's worlds out of the com.mojang directory and place them in your project's directory instead. This way you can easily work on multiple worlds and move them back and forth between com.mojang and your project's directory.

Diagram

📦 Installation

Open PowerShell on Windows and run:

irm https://sedge.arexon.me/haze | iex

You can also use this same command to update Haze.

🧩 Usage

Haze requires your project to include a config file that follows the Project Config Standard.

This also means that you can integrate Haze into projects that use Regolith or bridge.'s Dash compiler seamlessly.

🗺️ Setting up worlds

Here is the required config:

{
  // Now any world inside the "worlds" directory can be used in the command line argument.
  "worlds": ["./worlds/*"],
}

You can also reference multiple directories that store worlds:

{
  "worlds": ["./worlds/dev/*", "./worlds/demo/*"],
}

🖥️ Running commands

Run haze --help or reference the docs below:

Command Description
haze test <NAME> Copy a world from the project's worlds directory to "minecraftWorlds"
haze test --overwrite <NAME> Overwrites if a world with the same name is already in "minecraftWorlds"
haze save <NAME> Copy a world from "minecraftWorlds" to the project's worlds directory

Note: <NAME> is the world directory name.

📝 License

Haze is under the MIT license.

You might also like...
Save image from your clipboard 📋 as an image file directly from your command line! 🔥

Clpy 📋 Save copied image from clipboard as an image file directly from your command line! Note It works only on windows as of now. I'll be adding sup

A command-line tool aiming to upload the local image used in your markdown file to the GitHub repo and replace the local file path with the returned URL.
A command-line tool aiming to upload the local image used in your markdown file to the GitHub repo and replace the local file path with the returned URL.

Pup A command line tool aiming to upload the local image used in your markdown file to the GitHub repo and replace the local file path with the return

ripsecrets is a command-line tool to prevent committing secret keys into your source code.

ripsecrets is a command-line tool to prevent committing secret keys into your source code. ripsecrets has a few features that distinguish it from other secret scanning tools:

A command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects.

CCake CCake is a command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects. Goals To be easily und

A dead simple functional testing tool for command line applications

Pharaoh : build that test pyramid! What it is Pharaoh is a dead simple, no permission needed, functional test runner for command line applications, wr

A simple command line tool for creating font palettes for engines like libtcod

palscii A simple command line tool for creating font palettes for engines like libtcod. Usage This can also be viewed by running palscii --help. palsc

This is a simple command-line interface tool that allows you to interact with ChatGPT from OpenAI or Azure.

HeyGPT This is a simple command-line interface tool that allows you to interact with ChatGPT from OpenAI or Azure. You can use it to: Chat with ChatGP

Koi is a simple tool built to let you use ChatGPT through the command line

Koi is a simple tool built to let you use ChatGPT through the command line. It adds the ability to let ChatGPT run commands on your computer in order to help you out, or to help you out with complicated tasks.

A simple command-line tool for conversing with ChatGPT

daberu A simple command-line tool for conversing with ChatGPT. "daberu" is a Japanese translation of "chatting". $ daberu -h ChatGPT client tool that

Comments
  • `haze test` can overwrite an already existing world by default

    `haze test` can overwrite an already existing world by default

    I don't have exact reproduction steps. I was basically trying to do everything to break my world using haze and I think that the problem may depend Minecraft saving the game at the same time as haze copies files.

    Haze is not safe for careless users. If you haze test while having the world open, you can easily break your world. In my case, the world could still be opened but the chunks were broken. The best solution for that problem would probably be testing whether the world is being used and preventing haze from doing any kind of operation on the world files.

    bug 
    opened by Nusiq 4
  • Haze v1.3.0

    Haze v1.3.0

    Summary:

    • Restructure codebase to support using haze outside of the CLI
    • Renamed CLI commands to import & export
    • New haze list command
    • Ensure that only directories are considered valid worlds

    Motivation

    Closes #8, closes #9, closes #10

    Todos after merging:

    • Publish haze_core as a crate
    • Colorize haze list output/tweak it to your liking
    opened by solvedDev 1
  • Turn the core of haze into a library

    Turn the core of haze into a library

    Description

    Move world.rs and error.rs modules to a separate crate called haze_core. The rest of the modules should go in another crate called haze_cli.

    enhancement 
    opened by arexon 0
  • Add `--overwrite` flag to `haze test`

    Add `--overwrite` flag to `haze test`

    Description

    Running haze test will overwrite any existing world by default, which can be an unwanted behavior. Introducing --overwrite will allow users to only overwrite a world when they explicitly want to.

    Related issues

    • #1
    enhancement 
    opened by arexon 0
Releases(v1.3.0)
Owner
Sedge
Supercharged Minecraft Bedrock Add-On development
Sedge
A command line tool, manage your hundreds of repository, written with Rust

A command line tool, manage your hundreds of repository, written with Rust

Axetroy 4 Aug 16, 2022
A Command-line tool to create, manage and deploy your python projects

PPM A Command-line tool to create, manage and deploy your python projects Table of Contents PPM Main Features Create a Project project.ini file Projec

FUSEN 6 Aug 30, 2022
AI-powered game engine for dynamic, personalized experiences in evolving worlds. Ethical, accessible, inclusive.

ARCADIA: Advanced and Responsive Computational Architecture for Dynamic Interactive Ai: A Whitepaper By Reuven Cohen (rUv) Introduction Imagine a futu

rUv 10 Apr 18, 2023
Small command-line tool to switch monitor inputs from command line

swmon Small command-line tool to switch monitor inputs from command line Installation git clone https://github.com/cr1901/swmon cargo install --path .

William D. Jones 5 Aug 20, 2022
A server software designed for fetching Minecraft and Minecraft-related metadata

Minecraft Metadata Server A server software designed for fetching Minecraft and Minecraft-related metadata (such as Forge, Fabric, Quilt and Liteloade

Prism Launcher 11 Jan 19, 2023
Command-line program to manage PS battle logs. WIP.

psbattletools psbattletools is a command-line tool written in Rust for manipulating Pokémon Showdown battle logs. Installation psbattletools currently

Annika 2 Dec 27, 2022
Manage your dotfiles and packages with ease. Define your $HOME as Code 💻 🚀 ✨

EnvHub is a simple tool to manage dotfiles and packages accross multiple machines. Written in Rust, internally it uses nix/homebrew/pkgx/devbox to man

Tsiry Sandratraina 8 Oct 27, 2023
A CLI companion tool for paste.misterio.me, allowing you to easily upload and manage your pastes

This is a CLI companion tool for paste.misterio.me, allowing you to easily upload and manage your pastes, as well as download any pastes you want.

Gabriel Fontes 1 Jan 26, 2022
rpm (Rust project manager) is a tool that helps you to manage your rust projects

rpm rpm (Rust project manager) is a open source tool for managing your rust project in an organized way Installation # make sure you have rust install

Dilshad 4 May 4, 2023
Pink is a command-line tool inspired by the Unix man command.

Pink is a command-line tool inspired by the Unix man command. It displays custom-formatted text pages in the terminal using a subset of HTML-like tags.

null 3 Nov 2, 2023