mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Bump version to 9.1, add Laser Amplifier comparator support, add Saturating Condensers to recycle water from Industrial Turbines
This commit is contained in:
1 parent
53a9204974
commit
95c0ad4a73
28 files changed
+295
-118
No files matched your search
@@ -242,6 +242,24 @@ public interface IFactory
|
||||
{
|
||||
return fuelSpeed;
|
||||
}
|
||||
|
||||
public static RecipeType getFromMachine(Block block, int meta)
|
||||
{
|
||||
RecipeType type = null;
|
||||
|
||||
for(RecipeType iterType : RecipeType.values())
|
||||
{
|
||||
ItemStack machineStack = iterType.getStack();
|
||||
|
||||
if(Block.getBlockFromItem(machineStack.getItem()) == block && machineStack.getItemDamage() == meta)
|
||||
{
|
||||
type = iterType;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
private RecipeType(String s, String s1, ItemStack is, boolean b, boolean b1, Recipe r)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user