#Datapack can't add blocks

1 messages · Page 1 of 1 (latest)

terse mountain
#

I try to add a new block to veinmine but i cant figure it out

knotty rivetBOT
#

@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```
nova gust
#

An easy alternative is the global block list with /veinminer blocks add ...

terse mountain
#

i have the datapack, not the mod

nova gust
#

Then you only have to enter /function veinminer:_config and click on the settings you want

terse mountain
#

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

nova gust
#

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

terse mountain
#

i know that much, its the fact of using it in the command no matter how i input it, it dont work

#

/function veinminer:block_add {category:"pickaxe", namespace:"", id:""}

nova gust
#

you need to enter the namespace and id between the ""

#

/function veinminer:block_add {category:"pickaxe", namespace:"minecraft", id:"tuff"}