@@ -0,0 +1,1324 @@
+package ic2.api.item;%0A%0Aimport net.minecraft.item.ItemStack;%0Aimport net.minecraft.util.ResourceLocation;%0A%0Aimport cpw.mods.fml.relauncher.Side;%0Aimport cpw.mods.fml.relauncher.SideOnly;%0A%0Apublic interface ILatheItem %7B%0A%0A%09/**%0A%09 * Returns the radius of this Lathe Item%0A%09 * Should be no more than 15 to still be able to display it properly.%0A%09 */%0A%09int getWidth(ItemStack stack);%0A%0A%09/**%0A%09 * Returns the current state of this Lathe Item%0A%09 * The length of the array should be 5%0A%09 * The value should be the current size of the item at this time.%0A%09 * It should also not be greater than getWidth()%0A%09 */%0A%09int%5B%5D getCurrentState(ItemStack stack);%0A%0A%09/**%0A%09 * This will set the current state of the Item on that position to that value.%0A%09 */%0A%09void setState(ItemStack stack, int position, int value);%0A%0A%09/**%0A%09 * Returns the output Item (normally dust) when you lathe on this position.%0A%09 */%0A%09ItemStack getOutputItem(ItemStack stack, int position);%0A%0A%09/**%0A%09 * How common it is if the above item will be put into the output slot.%0A%09 * 1.0 means it will always be outputted, 0.0 means it will never be outputted.%0A%09 */%0A%09float getOutputChance(ItemStack stack, int position);%0A%0A%09/**%0A%09 * Returns the ResourceLocation of the texture used to display the item inside of the Lathe GUI%0A%09 */%0A%09@SideOnly(Side.CLIENT)%0A%09ResourceLocation getTexture(ItemStack stack);%0A%0A%7D%0A

update ic2 api