Skip to content

Instantly share code, notes, and snippets.

View eingruenesbeb's full-sized avatar
🔥
Standard status: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa

eingruenesbeb

🔥
Standard status: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
View GitHub Profile
@eingruenesbeb
eingruenesbeb / gen_empty_pack.sh
Last active June 25, 2024 13:50
A "little" Bash script to generate an empty Minecraft datapack
#!/bin/bash
# This script will generate an empty datapack with the basic files needed
# It prompts the user to input details like parent directory, datapack name, format, and description.
# global variables: use_gum, parent_dir, name, pack_format, description, selected_features, subdirectories
# Helper function to join array elements with a specified delimiter
function joinArrayWith() {
local delimiter="$1"
shift