Files
Botania/src/main/java/vazkii/botania/api/mana/IManaUsingItem.java
T

24 lines
670 B
Java

/*
* This class is distributed as part of the Botania Mod.
* Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*/
package vazkii.botania.api.mana;
import net.minecraft.item.ItemStack;
/**
* Any item that implements this interface is an item that would use mana
* from the player's inventory. If there's any items in the inventory or
* equipped in either the baubles or armor inventories that implement
* this interface, a mana bar will be rendered.
*/
public interface IManaUsingItem {
public boolean usesMana(ItemStack stack);
}