Vein Mining (Fabric/Forge/Quilt)

Vein Mining (Fabric/Forge/Quilt)

22M Downloads

[Bug]: other type of blocks are not listed for configuration

V1ncentLiu opened this issue ยท 3 comments

commented

Minecraft Version

1.18.1

What happened?

Trying to add the corresponding blocks of minerals(i.e. iron blocks, diamond blocks etc.) into the whitelist, and none of the 'combination' seems to work.
What are the names for the blocks in the vanilla Minecraft? I would like to know the following block's name to add to the configuration:
  1. All the blocks of the minerals(iron, gold, copper, diamond, redstone and netherite).
  2. Sand, gravel and clay.

Thank you

The following is parts in veinminig-server.toml that configures blocks, as of now, only the "#forge:ores" part works.

#List of whitelisted/blacklisted blocks or block tags
blocks = ["#forge:ores", "#forge:blocks/iron", "#forge:blocks/gold", "#forge:blocks/diamond", "#forge:blocks/redstone", "#forge:blocks/netherite"]
#Whether the blocks configuration is a whitelist or a blacklist
#Allowed Values: BLACKLIST, WHITELIST
blocksPermission = "WHITELIST"

PS: my Minecraft version is 1.18.2, but it was not listed in the above dropdown list.

How do you trigger this bug?

  1. Manually piles mineral blocks.
  2. Open veinminig-server.toml using /config showfile veinmining SERVER.
  3. Save and close game.
  4. Adds block names.
  5. Save and close.
  6. Restart game.
  7. Mine blocks with pickaxe that has the enchant.
  8. Blocks still being mined one by one.

Loader

Forge

Loader Version

Forge 40.1.16

Mod Version

Vein Mining 1.18.2 - 0.18

Relevant Log Outputs

No response

commented
blocks = ["#forge:ores", "#forge:blocks/iron", "#forge:blocks/gold", "#forge:blocks/diamond", "#forge:blocks/redstone", "#forge:blocks/netherite"]

I'm pretty sure that the problem here is that these tags, other than forge:ores, do not exist by default so they're not doing anything.

As for the actual block names, rather than tell you each one individually, you can easily find any block or item name yourself in-game. While in-game, press F3+H to activate advanced tooltips. Then you will be able to see the registry name of any block or item by hovering over them and looking at their tooltip.

Just remember that when you're adding blocks and not tags then you don't need the #.

commented
blocks = ["#forge:ores", "#forge:blocks/iron", "#forge:blocks/gold", "#forge:blocks/diamond", "#forge:blocks/redstone", "#forge:blocks/netherite"]

I'm pretty sure that the problem here is that these tags, other than forge:ores, do not exist by default so they're not doing anything.

As for the actual block names, rather than tell you each one individually, you can easily find any block or item name yourself in-game. While in-game, press F3+H to activate advanced tooltips. Then you will be able to see the registry name of any block or item by hovering over them and looking at their tooltip.

Just remember that when you're adding blocks and not tags then you don't need the #.

Is there a catchall name for these blocks just like #forge:ores (#forge:blocks for example) ?

commented

Try #forge:storage_blocks. That seems like it might be what you're looking for.