Sort pure crystals to have higher priority.

This commit is contained in:
AlgorithmX2
2014-09-16 23:23:19 -05:00
parent 3c8c773e2f
commit f233d5aefc
2 changed files with 25 additions and 2 deletions
+7
View File
@@ -1802,4 +1802,11 @@ public class Platform
assert player.worldObj.isRemote : "Valid only on client";
return (float) (player.posY + player.getEyeHeight() - player.getDefaultEyeHeight());
}
public static boolean isRecipePrioritized(ItemStack what)
{
return AEApi.instance().materials().materialPureifiedCertusQuartzCrystal.sameAsStack( what )
|| AEApi.instance().materials().materialPureifiedFluixCrystal.sameAsStack( what )
|| AEApi.instance().materials().materialPureifiedNetherQuartzCrystal.sameAsStack( what );
}
}