tetra icon indicating copy to clipboard operation
tetra copied to clipboard

[Bug] Fortune not working with amethyst

Open GhostVvar opened this issue 4 years ago • 3 comments

Observed behaviour

Tetra modified pickaxe enchanted with fortune not applying to amethyst clusters, only dropping 2 shards max.

Expected behaviour

Fortune should be increasing drop amount.

Steps to reproduce

  1. Enchant any Tetra modified pick with fortune. (through bench or enchanting table)
  2. Break amethyst cluster with pick.

Crashlog

No response

Tetra version

1.18.1 - 4.6.0

mutil/mGui version

1.18.1 - 4.4.0

Forge version

1.18.1 - 39.0.79

Other mods

No response

GhostVvar avatar Feb 21 '22 01:02 GhostVvar

Due to how the cluster loot table is set up it seems like this will be difficult to fix for modular items.

It requires the tool to have the minecraft:cluster_max_harvestables tag for it to choose the entry in the loot table which is affected by fortune, a tool with that tag also causes the cluster to drop 4 instead of 2 shards. Since the item tag checks are not itemstack dependant that tag would have to be applied to entire tetra tools, regardless of their modules. That would make it so that if you break an amethyst cluster with any tetra tool it would drop 4 shards as if it was a pickaxe, and that would not be correct either.

mickelus avatar Feb 25 '22 21:02 mickelus

ah, so its just because of the modularity of tetra its hard to create tags for all the different combinations?

GhostVvar avatar Feb 25 '22 21:02 GhostVvar