From 70e1436964ce4019e23c381e8bd573540adcd0f9 Mon Sep 17 00:00:00 2001 From: Adrian Date: Wed, 6 May 2015 23:14:57 +0200 Subject: [PATCH] add IRobotOverlayItem API --- api/buildcraft/api/robots/IRobotOverlayItem.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 api/buildcraft/api/robots/IRobotOverlayItem.java diff --git a/api/buildcraft/api/robots/IRobotOverlayItem.java b/api/buildcraft/api/robots/IRobotOverlayItem.java new file mode 100644 index 00000000..dc4ed336 --- /dev/null +++ b/api/buildcraft/api/robots/IRobotOverlayItem.java @@ -0,0 +1,13 @@ +package buildcraft.api.robots; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.TextureManager; +import net.minecraft.item.ItemStack; + +public interface IRobotOverlayItem { + boolean isValidRobotOverlay(ItemStack stack); + + @SideOnly(Side.CLIENT) + void renderRobotOverlay(ItemStack stack, TextureManager textureManager); +}