-
Notifications
You must be signed in to change notification settings - Fork 21
Block Format
There are different ways to define a block statement.
You can select by block name. Make sure to include the entire name, also the namespace. For example if you want to state a grass block, you do minecraft:grass_block
.
Select by tag is also an option. Simply add #
in front of the name (the same formatting as vanilla tags). Example: #minecraft:logs
will include all blocks which are part of the logs
blocktag.
Furthermore properties can be defined. Example #minecraft:leaves[persistent=false]
. This will only include blocks which have the given property and the exact defined value. So the example will only include blocks which have the property persistent
and the value false
for it. All other blocks will be left out. You can define multiple properties by separating them with a comma.
Using F3 ingame is a good way to get all the needed information of a block:
color | purpose |
---|---|
yellow | exact block name |
red | properties |
blue | tags |