mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
27 lines
833 B
Java
27 lines
833 B
Java
/**
|
|
* This class was created by <Vazkii>. It's 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 a
|
|
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
|
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
|
*
|
|
* File Created @ [May 25, 2014, 7:32:10 PM (GMT)]
|
|
*/
|
|
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);
|
|
|
|
}
|