Update README.md

This commit is contained in:
2025-11-22 23:36:35 +00:00
parent c2e6a3a3c7
commit 4c67b77508

125
README.md
View File

@@ -1,33 +1,30 @@
🎒 1. datapacks/ — Minecrafts built-in modding system # 📦 Datapacks & Dev-World Overview
Datapacks are Minecraft's official way to add game logic without mods. ## 🎒 1. `datapacks/` — Minecrafts Built-In Modding System
They let you create custom:
Recipes Datapacks are Minecrafts **official way to add custom game logic** without installing mods.
They allow you to create:
Loot tables - 🍲 Recipes
- 🎁 Loot tables
- 🗺 Structures
- ⚙️ Commands/functions
- 🌌 Dimensions
- 🏆 Advancements
- 🌱 Worldgen features
- 👾 Mob behavior (via loot/function triggers)
Structures Datapacks live inside:
Commands/functions
Dimensions
Advancements
Worldgen features
Mobs (via loot, behavior triggers, etc.)
They live inside:
```
world/datapacks/ world/datapacks/
```
(or inside any other world folder you choose).
or in a custom world folder of your choice. ### 📁 Example Structure
Example structure:
```
world/ world/
datapacks/ datapacks/
my_custom_pack/ my_custom_pack/
@@ -35,77 +32,79 @@ world/
data/ data/
minecraft/ minecraft/
mypack/ mypack/
```
### ⚡ How Datapacks Work
How they work: - When the server starts, Minecraft **automatically loads** all datapacks in that folder.
- You can reload them live with:
When the server starts, Minecraft automatically loads all datapacks in that folder.
You can reload them live with:
```
/reload /reload
```
Why track them in Git? ### 🧠 Why Track Datapacks in Git?
Because datapacks are basically tiny mods made out of text files. Because datapacks are basically **tiny mods made from text files**, Git gives you:
Git lets you:
Version your changes - Full version control
- Rollbacks for bad experiments
- A safe way to iterate
- Easy syncing between machines
- A complete history of every change
Roll back bad ideas > **Note:** Minecraft 1.1 did not support datapacks yet — but this structure is useful for future worlds or modern servers.
Experiment ---
Collaborate ## 🌍 2. `dev-world/` — A Safe Testing Sandbox
Deploy from laptop → server instantly `dev-world/` is **not** a built-in Minecraft feature.
Its a folder **you create** to safely test changes without risking the real world.
Keep a history of your custom world logic ### 🎯 Purpose
For a Vanilla 1.1 server, datapacks didnt exist yet — BUT if you're doing a modern-style organization or planning forward, Git still handles it well. Use this sandbox world to test:
- Dangerous commands
- Datapack functionality
- Worldgen changes
- NBT edits
- Anything experimental
### 📁 Example Structure
🌍 2. dev-world/ — A safe test world ```
This is NOT a built-in Minecraft feature — its a practice/testing world folder that YOU create.
Purpose:
👉 To test datapacks, commands, NBT edits, worldgen changes, and dangerous experiments without ruining the real world.
What it looks like:
dev-world/ dev-world/
level.dat level.dat
region/ region/
playerdata/ playerdata/
```
This mirrors your real `world/` folder.
Basically the same as your real world/, but: ### 💡 Why a Dev World?
You can reset it anytime - Reset it instantly
- Duplicate it whenever needed
- Safely break anything
- Prototype new features
- Avoid griefing or corrupting the main world
You can duplicate it ### 🔧 How to Use `dev-world/`
You can try insane commands In your `server.properties`, set:
You can prototype datapack functionality ```
You can test structures/commands with no consequences
How to use it:
You temporarily point your server to use dev-world instead of world.
In server.properties:
level-name=dev-world level-name=dev-world
```
Start the server → it loads the dev world. Start the server → it loads the dev world.
When youre done testing, switch back:
When you're finished testing, switch back:
```
level-name=world level-name=world
```
---