From b4eb8f2d65c62afccc898808b44fdddfde0c15d1 Mon Sep 17 00:00:00 2001 From: Lance5057 Date: Wed, 21 Jan 2015 20:04:34 -0600 Subject: Startup I hope I'm doing this right... --- src/api/java/thaumcraft/api/IGoggles.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/api/java/thaumcraft/api/IGoggles.java (limited to 'src/api/java/thaumcraft') diff --git a/src/api/java/thaumcraft/api/IGoggles.java b/src/api/java/thaumcraft/api/IGoggles.java new file mode 100644 index 0000000..2f53d81 --- /dev/null +++ b/src/api/java/thaumcraft/api/IGoggles.java @@ -0,0 +1,22 @@ +package thaumcraft.api; + +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; + +/** + * + * @author Azanor + * + * Equipped head slot items that extend this class will be able to perform most functions that + * goggles of revealing can apart from view nodes which is handled by IRevealer. + * + */ + +public interface IGoggles { + + /* + * If this method returns true things like block essentia contents will be shown. + */ + public boolean showIngamePopups(ItemStack itemstack, EntityLivingBase player); + +} -- cgit v1.2.3