diff options
author | draknyte1 <draknyte1@hotmail.com> | 2016-11-04 15:23:26 +1000 |
---|---|---|
committer | draknyte1 <draknyte1@hotmail.com> | 2016-11-04 15:23:26 +1000 |
commit | 0669f5eb9d5029a8b94ec552171b0837605f7747 (patch) | |
tree | 6b40e64c04d51b7a33cf2f0b35f7232cf37c4247 /src/Java/gtPlusPlus/core/interfaces | |
parent | 3654052fb63a571c5eaca7f20714b87c17f7e966 (diff) | |
download | GT5-Unofficial-0669f5eb9d5029a8b94ec552171b0837605f7747.tar.gz GT5-Unofficial-0669f5eb9d5029a8b94ec552171b0837605f7747.tar.bz2 GT5-Unofficial-0669f5eb9d5029a8b94ec552171b0837605f7747.zip |
$ Cleaned up the entire project.
> Much neat, very nices.
Diffstat (limited to 'src/Java/gtPlusPlus/core/interfaces')
3 files changed, 48 insertions, 37 deletions
diff --git a/src/Java/gtPlusPlus/core/interfaces/IGuiManager.java b/src/Java/gtPlusPlus/core/interfaces/IGuiManager.java index 1d0ad9ed87..ad2bfcb10a 100644 --- a/src/Java/gtPlusPlus/core/interfaces/IGuiManager.java +++ b/src/Java/gtPlusPlus/core/interfaces/IGuiManager.java @@ -4,13 +4,13 @@ import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.ChunkCoordinates; import net.minecraft.world.World; -public abstract interface IGuiManager extends IGuiManagerMiscUtils{ +public abstract interface IGuiManager extends IGuiManagerMiscUtils { - public abstract ChunkCoordinates getCoordinates(); + public abstract Object getContainer(EntityPlayer paramEntityPlayer, int paramInt); - public abstract World getWorld(); + public abstract ChunkCoordinates getCoordinates(); public abstract Object getGui(EntityPlayer paramEntityPlayer, int paramInt); - public abstract Object getContainer(EntityPlayer paramEntityPlayer, int paramInt); + public abstract World getWorld(); } diff --git a/src/Java/gtPlusPlus/core/interfaces/IGuiManagerMiscUtils.java b/src/Java/gtPlusPlus/core/interfaces/IGuiManagerMiscUtils.java index cf46c67a54..9fb2e74cb1 100644 --- a/src/Java/gtPlusPlus/core/interfaces/IGuiManagerMiscUtils.java +++ b/src/Java/gtPlusPlus/core/interfaces/IGuiManagerMiscUtils.java @@ -1,3 +1,4 @@ package gtPlusPlus.core.interfaces; -public abstract interface IGuiManagerMiscUtils {}
\ No newline at end of file +public abstract interface IGuiManagerMiscUtils { +}
\ No newline at end of file diff --git a/src/Java/gtPlusPlus/core/interfaces/IItemBlueprint.java b/src/Java/gtPlusPlus/core/interfaces/IItemBlueprint.java index 90126b1e82..ebdf4c2e57 100644 --- a/src/Java/gtPlusPlus/core/interfaces/IItemBlueprint.java +++ b/src/Java/gtPlusPlus/core/interfaces/IItemBlueprint.java @@ -4,45 +4,55 @@ import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; public interface IItemBlueprint { - + /** - * The inventory size for the blueprint~ - */ + * The inventory size for the blueprint~ + */ public int INV_SIZE = 9; - + + /** + * Gets the recipe held by the item + * + * @param stack + * yourMetaItem + * @return the blueprints contents + */ + public ItemStack[] getBlueprint(ItemStack stack); + + /** + * Does this itemstack hold a blueprint? + * + * @param stack + * yourMetaItem + * @return true if is holding a Blueprint + */ + public boolean hasBlueprint(ItemStack stack); + /** - * Meta Compatible function to allow meta items to be blueprints - * @param stack yourMetaItem - * @return true if it is a Blueprint - */ + * Meta Compatible function to allow meta items to be blueprints + * + * @param stack + * yourMetaItem + * @return true if it is a Blueprint + */ public boolean isBlueprint(ItemStack stack); - + /** - * Sets the blueprint for this itemstack. - * @param stack yourMetaItem - * @return true if blueprint is set successfully - */ + * Sets the blueprint for this itemstack. + * + * @param stack + * yourMetaItem + * @return true if blueprint is set successfully + */ public boolean setBlueprint(ItemStack stack, IInventory craftingTable, ItemStack output); - + /** - * Sets the name of the recipe/blueprint - * @param String Blueprint Name - * @return N/A - */ + * Sets the name of the recipe/blueprint + * + * @param String + * Blueprint Name + * @return N/A + */ public void setBlueprintName(ItemStack stack, String name); - - /** - * Does this itemstack hold a blueprint? - * @param stack yourMetaItem - * @return true if is holding a Blueprint - */ - public boolean hasBlueprint(ItemStack stack); - - /** - * Gets the recipe held by the item - * @param stack yourMetaItem - * @return the blueprints contents - */ - public ItemStack[] getBlueprint(ItemStack stack); } |