mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-24 05:44:42 +00:00
-Dropped support for golem type api
-Added crafting/uncrafting for disguised armor
This commit is contained in:
1 parent
4bd8d0ce5a
commit
aeecdbe33b
12 files changed
+306
-32
No files matched your search
@@ -51,10 +51,11 @@ public class InfusionUpgradeRecipe extends InfusionRecipe {
|
||||
|
||||
for(int i = 0; i < EnumGolemType.values().length ; i++) {
|
||||
EnumGolemType type = EnumGolemType.values()[i];
|
||||
|
||||
AdditionalGolemType addType = GadomancyApi.getAdditionalGolemType(type);
|
||||
Item input = addType == null ? ConfigItems.itemGolemPlacer : addType.getPlacerItem();
|
||||
recipes[i] = new InfusionUpgradeRecipe(research, upgrade, inst, aspects, new ItemStack(input, 1, type.ordinal()), recipe);
|
||||
if(type.health > 0) {
|
||||
AdditionalGolemType addType = GadomancyApi.getAdditionalGolemType(type);
|
||||
Item input = addType == null ? ConfigItems.itemGolemPlacer : addType.getPlacerItem();
|
||||
recipes[i] = new InfusionUpgradeRecipe(research, upgrade, inst, aspects, new ItemStack(input, 1, type.ordinal()), recipe);
|
||||
}
|
||||
}
|
||||
return recipes;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user