mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 03:43:30 +01:00
I did it mom
This commit is contained in:
parent
601feceb65
commit
31de298ef9
2 changed files with 5 additions and 2 deletions
|
@ -53,6 +53,7 @@ import net.minecraftforge.energy.EnergyStorage;
|
|||
import net.minecraftforge.event.TickEvent;
|
||||
import net.minecraftforge.event.entity.player.ItemTooltipEvent;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.ModList;
|
||||
import org.apache.commons.lang3.mutable.MutableInt;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
|
@ -77,6 +78,8 @@ public class ClientEvents {
|
|||
|
||||
@SubscribeEvent
|
||||
public void onTooltip(ItemTooltipEvent event) {
|
||||
if (ModList.get().isLoaded("enchdesc"))
|
||||
return;
|
||||
ItemStack stack = event.getItemStack();
|
||||
List<ITextComponent> tooltip = event.getToolTip();
|
||||
for (Map.Entry<Enchantment, Integer> entry : EnchantmentHelper.getEnchantments(stack).entrySet()) {
|
||||
|
|
|
@ -186,6 +186,6 @@
|
|||
"entity.naturesaura.effect_inhibitor": "Effect Powder",
|
||||
"entity.naturesaura.mover_cart": "Aura Attraction Cart",
|
||||
"enchantment.naturesaura.aura_mending": "Nature's Mend",
|
||||
"enchantment.naturesaura.aura_mending.desc": "Nature's Aura Enchantment",
|
||||
"naturesaura:aura_mending.enchant.desc": "Heals the Player Using Aura"
|
||||
"enchantment.naturesaura.aura_mending.desc": "Repairs tools using Aura",
|
||||
"naturesaura:aura_mending.enchant.desc": "Heals the player using Aura"
|
||||
}
|
Loading…
Reference in a new issue