From f8d36e93666366b844487b15a28079dd0999a5fc Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Sun, 9 Nov 2014 13:36:02 +0100 Subject: [PATCH] and, of course, commit the interface too... bah --- api/buildcraft/api/power/IEngine.java | 8 ++++++++ api/buildcraft/api/tiles/IControllable.java | 8 ++++++++ api/buildcraft/api/tiles/IHasWork.java | 8 ++++++++ api/buildcraft/api/tiles/IHeatable.java | 18 ++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 api/buildcraft/api/tiles/IHeatable.java diff --git a/api/buildcraft/api/power/IEngine.java b/api/buildcraft/api/power/IEngine.java index 0668b75c..406a8d4d 100644 --- a/api/buildcraft/api/power/IEngine.java +++ b/api/buildcraft/api/power/IEngine.java @@ -1,3 +1,11 @@ +/** + * Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team + * http://www.mod-buildcraft.com + * + * BuildCraft is distributed under the terms of the Minecraft Mod Public + * License 1.0, or MMPL. Please check the contents of the license located in + * http://www.mod-buildcraft.com/MMPL-1.0.txt + */ package buildcraft.api.power; import net.minecraftforge.common.util.ForgeDirection; diff --git a/api/buildcraft/api/tiles/IControllable.java b/api/buildcraft/api/tiles/IControllable.java index 2ea990e2..c2e27aa7 100644 --- a/api/buildcraft/api/tiles/IControllable.java +++ b/api/buildcraft/api/tiles/IControllable.java @@ -1,3 +1,11 @@ +/** + * Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team + * http://www.mod-buildcraft.com + * + * BuildCraft is distributed under the terms of the Minecraft Mod Public + * License 1.0, or MMPL. Please check the contents of the license located in + * http://www.mod-buildcraft.com/MMPL-1.0.txt + */ package buildcraft.api.tiles; public interface IControllable { diff --git a/api/buildcraft/api/tiles/IHasWork.java b/api/buildcraft/api/tiles/IHasWork.java index 5f887d43..6eff8f5b 100644 --- a/api/buildcraft/api/tiles/IHasWork.java +++ b/api/buildcraft/api/tiles/IHasWork.java @@ -1,3 +1,11 @@ +/** + * Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team + * http://www.mod-buildcraft.com + * + * BuildCraft is distributed under the terms of the Minecraft Mod Public + * License 1.0, or MMPL. Please check the contents of the license located in + * http://www.mod-buildcraft.com/MMPL-1.0.txt + */ package buildcraft.api.tiles; public interface IHasWork { diff --git a/api/buildcraft/api/tiles/IHeatable.java b/api/buildcraft/api/tiles/IHeatable.java new file mode 100644 index 00000000..7e825178 --- /dev/null +++ b/api/buildcraft/api/tiles/IHeatable.java @@ -0,0 +1,18 @@ +/** + * Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team + * http://www.mod-buildcraft.com + * + * BuildCraft is distributed under the terms of the Minecraft Mod Public + * License 1.0, or MMPL. Please check the contents of the license located in + * http://www.mod-buildcraft.com/MMPL-1.0.txt + */ +package buildcraft.api.tiles; + +public interface IHeatable { + double getMinHeatValue(); + double getIdealHeatValue(); + double getMaxHeatValue(); + + double getCurrentHeatValue(); + double setHeatValue(double value); +}