Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks for the info
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package ic2.api.item; | ||
|
||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.util.ResourceLocation; | ||
|
||
public interface IKineticRotor { | ||
int getDiameter(ItemStack stack); | ||
|
||
ResourceLocation getRotorRenderTexture(ItemStack stack); | ||
|
||
float getEfficiency(ItemStack stack); | ||
|
||
int getMinWindStrength(ItemStack stack); | ||
|
||
int getMaxWindStrength(ItemStack stack); | ||
|
||
boolean isAcceptedType(ItemStack stack, GearboxType type); | ||
|
||
public static enum GearboxType { | ||
WATER, | ||
WIND, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ic2.api.item; | ||
|
||
import net.minecraft.entity.player.EntityPlayer; | ||
import net.minecraft.item.ItemStack; | ||
|
||
public interface IWrenchHandler | ||
{ | ||
public boolean supportsItem(ItemStack possibleWrench); | ||
|
||
public boolean canWrench(ItemStack wrench, int x, int y, int z, EntityPlayer player); | ||
|
||
public void useWrench(ItemStack wrench, int x, int y, int z, EntityPlayer player); | ||
|
||
public static interface IWrenchRegistry | ||
{ | ||
public void registerWrenchSupporter(IWrenchHandler par1); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package ic2.api.recipe; | ||
|
||
import java.util.Map; | ||
|
||
import net.minecraftforge.fluids.Fluid; | ||
|
||
public interface ILiquidHeatExchangerManager extends ILiquidAcceptManager { | ||
|
||
void addFluid(String fluidName, String fluidOutput, int huPerMB); | ||
|
||
HeatExchangeProperty getHeatExchangeProperty(Fluid fluid); | ||
|
||
Map<String, HeatExchangeProperty> getHeatExchangeProperties(); | ||
|
||
public static class HeatExchangeProperty { | ||
public HeatExchangeProperty(Fluid outputFluid, int huPerMB) { | ||
this.outputFluid = outputFluid; | ||
this.huPerMB = huPerMB; | ||
} | ||
|
||
public final Fluid outputFluid; | ||
public final int huPerMB; | ||
} | ||
|
||
} |