promotional bannermobile promotional banner
premium banner
A plugin for REI that adds technical details about an enchantment. Modded enchantments is easily supportable.

Description

Summary

This is mod is an addon for REI (Roughly Enough Items) that allows users to view details of an enchantment. No more, no less.

For modders

In your lang file, add:

"enchantment.modid.ench_name.rei.func": "value"
"enchantment.modid.ench_name.rei.applicability": "value"

where value is the string you want to display.

.func and .applicability?

.func purpose is to display the use of an enchantment.

.applicability is to display what items can be enchanted with the enchantment.

Why .applicability when minecraft has built-in EnchantmentTarget class?

Because some mods may override enchantment's application regardless of the set EnchantmentTarget.