#Datapack can't add blocks
1 messages · Page 1 of 1 (latest)
@terse mountain
Block Groups
Block groups can hold multiple blocks together that will be treated like the same block.
/veinminer groups create <name> [<block1>] [<block2>]
All blocks inside one group will be mined together. A block can be in multiple groups. New blocks can be added or removed from groups with the following commands:
/veinminer groups edit <name> add-block <block>
/veinminer groups edit <name> remove-block <block>
Groups can be limited to certain tools, for example group logs can only be mined by axes. If no tool is added to a group, all tools are allowed. If a block is in multiple groups, all tools from those groups are allowed.
(If a block is in one unlimited tool group and one limited to axes, only axes work for this block)
/veinminer groups edit <name> add-tool <item>
/veinminer groups edit <name> remove-tool <item>
Example (Logs)
2. /veinminer groups edit Logs add-block #minecraft:logs
3. /veinminer groups edit Logs add-tool #minecraft:axes```
An easy alternative is the global block list with /veinminer blocks add ...
i have the datapack, not the mod
Then you only have to enter /function veinminer:_config and click on the settings you want
i did that and when i click to add block i can't get the command to work
im trying to add tuff to the list
you can see the item/block namespace + ID if you press F3 + H and then hover over items
e.g. tuff has minecraft:tuff where minecraft is the namespace (mod name) and tuff the ID