Crucible allows people to create "custom blocks" using the extra block states from mushroom blocks, note blocks, or tripwires.
Crucible allows people to create "custom blocks" using the extra block states from mushroom blocks, note blocks, or tripwires.
Items that are configured to be blocks will have their corresponding block placed in the world where the player is looking when right-clicked, and will drop the original item when broken by default (unless configured otherwise).
Items that are configured to be blocks will have their corresponding block placed in the world where the player is looking when right-clicked, and will drop the original item when broken by default (unless configured otherwise).
Custom Block Options
-----------------
## Custom Block Options
All options are placed under a "CustomBlock" section on an item.
All options are placed under a `CustomBlock` section on an item.
### Base Options
### Base Options
-`Type` - The type of custom block, defaults to mushroom (MUSHROOM_BLOCK, NOTE_BLOCK, or TRIPWIRE)
-`Type` - The type of custom block, defaults to mushroom (MUSHROOM_BLOCK, NOTE_BLOCK, or TRIPWIRE)
-`Id` - The ID of the custom block.
-`Id` - The ID of the custom block.
-`Texture` - The path of the texture the block will use
Putting in Resource Pack
```yaml
------------------------
CustomBlock:
Crucible can automatically generate the blockstate and model files for you to put in your resource pack. It will only generate files for the types of blocks that have custom blocks configured for them.
Type:MUSHROOM_BLOCK
Id:18
To do so, simply type `/crucible generate` in the console or in-game and the files will generate in `plugins/MythicCrucible/resourcepack`.
Texture:block/stars1
```
By default, the block models will generate pointing to:
-`block/custom/mushroom_#` for mushroom blocks
-`block/custom/noteblock_#` for noteblocks
... where # is the ID that has been configured.
So for example, default you'd want to put a texture file for Mushroom block 1 in your resource pack located in:
## Putting in Resource Pack
-`assets/minecraft/textures/block/custom`, named `mushroom_1.png`
Please refer to the [Resourcepack Generator](ResourcePack-Generator) wiki page for info.