Tetra

Tetra

23M Downloads

[Bug] Fortune not working with amethyst

GhostVvar opened this issue ยท 2 comments

commented

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

commented

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.

commented

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