A block.json
structure¶
Prerequisites
To understand whats following, ensure to have read the Content Pack Files Structure page.
The folder objects/blocks/
was designed to register all the new blocks you want for Minecraft
All fresh new json are JsonObject file, there always starts with {}
Create a Simple Block¶
A simple block can be registered only with the (mandatory) registryName
object.
Example
[ { "registryName" : "my_supa_block" } ]
Example with multiple blocks
[ { "registryName" : "my_supa_block" }, { "registryName" : "my_supa_other_block" }, { "registryName" : "yeah_bloooiiiiick" } ]
Create a Complex Block¶
You can customize your block with some (optional) json objects.
Warning
If these objects are empty, null or misspelled, they are ignored.