Описание
# CUBES
Adds various cubes that you can have as items. They don't really do anything.
**But they look cool**
## Give yourself a cube:
```
/give @p minecraft:acacia_boat[item_model="cubes:aqua_bordered"]
```
## Cube colors:
- `aqua`
- `black`
- `blue`
- `dark_aqua`
- `dark_blue`
- `dark_gray`
- `dark_green`
- `dark_purple`
- `dark_red`
- `gold`
- `gray`
- `green`
- `light_purple`
- `red`
- `white`
- `yellow`
You can also add `_bordered` to the end of any color to get a cube with a border.
All borders are white except for the `white_bordered` cube, which has a black border.
I provide the main 16 chat colors as usable textures. Feel free to add your own.
## Adding a custom cube:
1. Unzip the pack
2. Go to the `assets/cubes/models/block` folder
3. Create a new file. Name it whatever you like, just make sure it ends in ".json"
4. Copy the following code:
```json
{
"format_version": "1.21.11",
"credit": "Made with Blockbench",
"parent": "cubes:block/cube_bordered",
"textures": {
"border": "cubes:block/",
"color": "cubes:block/"
}
}
```
5. Edit the file (use notepad, vscode, whatever)
Paste the copied code and make the following changes:
Set `"parent"` to either `"cubes:block/cube"` or `"cubes:block/cube_bordered"`
If you aren't making a bordered cube, remove the line with `"border"` in it.
Then, replace both instances of `` with any of the named chat colors. Use the [Minecraft Wiki](https://minecraft.wiki/w/Formatting_codes) if you don't know them.
Now, save and close the file
6. Next, go to the `assets/cubes/items` folder
7. Create a file with the **SAME NAME** as the file you made in step 3.
8. Copy the following code:
```json
{
"model": {
"type": "minecraft:model",
"model": "cubes:block/"
}
}
```
9. Replace `` with the **EXACT** name of the file you created in step 3, but without ".json" at the end.
10. Save and close the file
11. Enjoy your custom cube!
## Adding a custom color
1. Go to your favorite image editer (I like https://piskelapp.com).
2. Create a new 16x16 image, and color the entire thing with one solid color.
3. Save the photo as a png and put it into the `assets/cubes/textures/block` folder.
4. Use the name of the photo without ".png" to replace `` in any new cube you make.
(You can also add a design to the texture, but it will apply the texture to all sides of the block.)