FTBTeam / FTB-Mods-Issues

Any mod issues, be it FTB Teams, Quests or any other of our mods can be reported here!
21 stars 1 forks source link

[FTBUltimine | Question ]: How do I include the Raw Block variant in the veinmining #1050

Closed ArsiTheFox closed 8 months ago

ArsiTheFox commented 8 months ago

Mod

FTB Ultimine

Description

I am trying to add the funtionality to also break the raw ore blocks while veinmining along with the different ore types. Example:

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

desht commented 8 months ago

First off, I assume we're talking about using the shapeless mining mode here. There is a config entry merge_tags which controls how block equivalence is decided when a shapeless ultimine operation is done. Its default value lists the following block tags (wildcarding is supported):

"minecraft:base_stone_overworld",
"c:*_ores",
"forge:ores/*"

(c:*_ores and forge:ores/* are the Fabric and Forge equivalents for all known ore blocks, respectively)

When a block is ultimined, the merge_tags tag is checked: if the block just mined is in one of the tags, then any adjacent blocks also in that matched tag are candidates for being broken too. So in the case of Iron Ore, both Iron Ore and Deepslate Iron Ore are in the forge:iron_ores block tag, so are considered equivalent for ultimining. Raw Iron blocks are not in that tag, so would not be considered equivalent.

If you really want raw iron to be considered equivalent, I'd suggest adding a custom block tag (use a data pack, or maybe KubeJS) containing iron ore, deepslate iron ore and raw iron blocks, and add that custom tag to the merge_tags config entry.

(You could add raw iron blocks to forge:iron_ores but I would not recommend it - it's not really an ore, and adding it there could have unintended consequences elsewhere).

Does that help?

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it is in a state of "Awaiting Reply" but no reply has been received within 14 days. It will be closed within 7 days if it is not updated with a reply.

ArsiTheFox commented 8 months ago

It does help, thank you <3 Sorry for the wait

I will look at matching tags to add into the system