# DataGen

***

Lazy to type JSON for resource packs and data packs? That's why I made the DataGen one-click generation tool. Next, I will teach you how to use it.

**Command:**

```
DataGenCUI-Windows-V0.1.1.exe [-TYPE] [-NAMESPACE] [-ID]
```

* **\[TYPE]**: Type
* **\[NAMESPACE]**: Namespace
* **\[ID]**: Block/Item ID

**Available TYPE parameters:**

* `help`
* `setup`
* `item`
* `tool`
* `shield`
* `cube_all`
* `cube`
* `stairs`
* `slab`
* `wall`
* `door`
* `trapdoor`
* `fence`
* `fence_gate`
* `pressure_plate`

**Initialization:**

Initialization only requires creating a new folder inside the core folder and naming it according to your needs. Then, place the DataGenCUI-Windows-V0.1.1.exe file inside the folder, and open CMD. Enter the following command for initialization. However, you still need to manually create a pack.mcmeta.

```
DataGenCUI-Windows-V0.1.1.exe setup [your namespace]
```

**ID:**

The ID is not something to be underestimated. Many newcomers might make mistakes at this step. If you want to create a 'test:black\_stairs,' you only need to enter one of the following commands:

```
DataGenCUI-Windows-V0.1.1.exe stairs test black
DataGenCUI-Windows-V0.1.1.exe STAIRS test black
DataGenCUI-Windows-V0.1.1.exe -stairs test black
DataGenCUI-Windows-V0.1.1.exe -STAIRS test black
```

Note: All of the above commands will yield the same result. Use whichever suits your preference.
