Fabric API

Fabric API

106M Downloads

API for EnchantmentTargets

Siphalor opened this issue ยท 3 comments

commented

Enchantment targets (so like different kinds of tools or the armor pieces) are in an ugly enum.

It would be nice to be able to easily register own ones without having to @Redirect or @Overwrite a lot of the games logic.

commented

Vanilla got this :)

Damn, Mojang mod loader killing Fabric /j

commented

Vanilla got this :)

commented

I actually have an implementation for this, tho due to the fact that enchantment targets are anonymous inner classes it heavily relies on chocohead's fabric-ASM.