Adding Logs to Veimine is not working

I have entered the code into the groups.json as it was presented in the Mod page (well edited to look like the ores) but it does not Veimine any wood. I do not write code so if there is something wrong with it please let me know. I tried to use the command /veinminer group add wood but the command does not work either. Version 1.21.6 Fabric
No description
21 Replies
MUtils-Bot
MUtils-Bot2mo ago
Hey, i'm a little helper here and try to help you with your question :) Click on the green button below to display the help article to Veinminer don't work. -# Automated support bot - If this helped you, response with a thanks or similar to let us know
Hotpocket143
Hotpocket143OP2mo ago
I did actually fix the closed brace on line 35 but that changed nothing
Miraculixx
Miraculixx2mo ago
Please share your settings file, but from what i see there are missing some , symbols after each setting list. The command ingame should always work, but you may have overwritten the config with your own saved version. ah wait no, you copy pasted the whole config, that is not working
Hotpocket143
Hotpocket143OP2mo ago
I did change the mustSneak and the maxChain
No description
Hotpocket143
Hotpocket143OP2mo ago
The ores are working, the logs are not
Miraculixx
Miraculixx2mo ago
This config is irrelevant for now, but make sure when testing that you fullfil your own rules. the correct config layout is:
[
{
"name": "Group1",
"blocks": [ ... ]
"tools": [...]
},
{
"name": "Group2",
"blocks": [ ... ]
"tools": [...]
}
[
[
{
"name": "Group1",
"blocks": [ ... ]
"tools": [...]
},
{
"name": "Group2",
"blocks": [ ... ]
"tools": [...]
}
[
if you are unsure with the json format, i would advise using the ingame command after deleting the groups.json file one more time
Hotpocket143
Hotpocket143OP2mo ago
After deleting the json part that I added the command works up until "add"
No description
MUtils-Bot
MUtils-Bot2mo ago
Block Groups Block groups can hold multiple blocks together that will be treated like the same block.
/veinminer group 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 group edit <name> add-block <block> /veinminer group edit <name> remove-block <block>
Groups can be limited to certain tools, for example group wood 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 group edit <name> add-tool <item> /veinminer group edit <name> remove-tool <item>
Miraculixx
Miraculixx2mo ago
make sure to follow this command syntax above :PEepoGlad:
Hotpocket143
Hotpocket143OP2mo ago
ah So i will need to add in every minecraft.log manually this way? may be easier trying to do it in the json lol Even though i don't really know what I am doing htere
Miraculixx
Miraculixx2mo ago
yup, for now there are no shortcuts in the command. But like you saw before, there are templates at the mod page
[
{
"name":"Ores",
"blocks":[
"minecraft:coal_ore",
"minecraft:deepslate_coal_ore",
"minecraft:iron_ore",
"minecraft:deepslate_iron_ore",
"minecraft:copper_ore",
"minecraft:deepslate_copper_ore",
"minecraft:gold_ore",
"minecraft:deepslate_gold_ore",
"minecraft:redstone_ore",
"minecraft:deepslate_redstone_ore",
"minecraft:emerald_ore",
"minecraft:deepslate_emerald_ore",
"minecraft:lapis_ore",
"minecraft:deepslate_lapis_ore",
"minecraft:diamond_ore",
"minecraft:deepslate_diamond_ore",
"minecraft:nether_gold_ore",
"minecraft:nether_quartz_ore"
],
"tools":[
"minecraft:diamond_pickaxe",
"minecraft:golden_pickaxe",
"minecraft:iron_pickaxe",
"minecraft:netherite_pickaxe",
"minecraft:stone_pickaxe",
"minecraft:wooden_pickaxe"
]
},
{
"name":"Logs",
"blocks":[
"minecraft:acacia_log",
"minecraft:oak_log",
"minecraft:mangrove_log",
"minecraft:birch_log",
"minecraft:jungle_log",
"minecraft:spruce_log",
"minecraft:dark_oak_log",
"minecraft:pale_oak_log",
"minecraft:cherry_log",
"minecraft:crimson_stem",
"minecraft:warped_stem"
],
"tools":[
"minecraft:diamond_axe",
"minecraft:golden_axe",
"minecraft:iron_axe",
"minecraft:wooden_axe",
"minecraft:stone_axe",
"minecraft:netherite_axe"
]
}
]
[
{
"name":"Ores",
"blocks":[
"minecraft:coal_ore",
"minecraft:deepslate_coal_ore",
"minecraft:iron_ore",
"minecraft:deepslate_iron_ore",
"minecraft:copper_ore",
"minecraft:deepslate_copper_ore",
"minecraft:gold_ore",
"minecraft:deepslate_gold_ore",
"minecraft:redstone_ore",
"minecraft:deepslate_redstone_ore",
"minecraft:emerald_ore",
"minecraft:deepslate_emerald_ore",
"minecraft:lapis_ore",
"minecraft:deepslate_lapis_ore",
"minecraft:diamond_ore",
"minecraft:deepslate_diamond_ore",
"minecraft:nether_gold_ore",
"minecraft:nether_quartz_ore"
],
"tools":[
"minecraft:diamond_pickaxe",
"minecraft:golden_pickaxe",
"minecraft:iron_pickaxe",
"minecraft:netherite_pickaxe",
"minecraft:stone_pickaxe",
"minecraft:wooden_pickaxe"
]
},
{
"name":"Logs",
"blocks":[
"minecraft:acacia_log",
"minecraft:oak_log",
"minecraft:mangrove_log",
"minecraft:birch_log",
"minecraft:jungle_log",
"minecraft:spruce_log",
"minecraft:dark_oak_log",
"minecraft:pale_oak_log",
"minecraft:cherry_log",
"minecraft:crimson_stem",
"minecraft:warped_stem"
],
"tools":[
"minecraft:diamond_axe",
"minecraft:golden_axe",
"minecraft:iron_axe",
"minecraft:wooden_axe",
"minecraft:stone_axe",
"minecraft:netherite_axe"
]
}
]
Hotpocket143
Hotpocket143OP2mo ago
Just copy pasting from that adds everything run on, I had to edit all that myself
Miraculixx
Miraculixx2mo ago
what do you mean by that?
Hotpocket143
Hotpocket143OP2mo ago
Did not see this one!
Hotpocket143
Hotpocket143OP2mo ago
Like literally if you copy past the template from the mod page it pastes it run on in one line
No description
Miraculixx
Miraculixx2mo ago
Yes, its so compact on the mod page to save space. But json is awesome and can also work in this format :) Veinminer will make it fancy after the first server cycle
Hotpocket143
Hotpocket143OP2mo ago
So I could save it like that restart and it will put it correctly?
Miraculixx
Miraculixx2mo ago
yup, i'm unsure atm if veinminer makes it fancy just after saving or after making one change but it will format it too
Hotpocket143
Hotpocket143OP2mo ago
ooooOOOooo
Miraculixx
Miraculixx2mo ago
or you can use a formatter like this https://jsonformatter.curiousconcept.com/
JSON Formatter & Validator
Format and validate JSON data so that it can easily be read by human beings.
Hotpocket143
Hotpocket143OP2mo ago
Trying the new json now Okay that worked, I see where I was missing the correct brace and comma

Did you find this page helpful?