[Bug]: other type of blocks are not listed for configuration
V1ncentLiu opened this issue ยท 3 comments
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:
- All the blocks of the minerals(iron, gold, copper, diamond, redstone and netherite).
- 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?
- Manually piles mineral blocks.
- Open veinminig-server.toml using /config showfile veinmining SERVER.
- Save and close game.
- Adds block names.
- Save and close.
- Restart game.
- Mine blocks with pickaxe that has the enchant.
- 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
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 #
.
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) ?