mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +01:00
parent
af7d0d2f1d
commit
3fd96cf237
2 changed files with 20 additions and 5 deletions
|
@ -124,6 +124,7 @@ public enum ConfigCrafting{
|
||||||
HORSE_ARMORS("Horse Armor -> Raw Materials (Crusher)", ConfigCategories.OTHER),
|
HORSE_ARMORS("Horse Armor -> Raw Materials (Crusher)", ConfigCategories.OTHER),
|
||||||
RECONSTRUCTOR_MISC("Misc. Recipes like Soul Sand (Reconstructor)", ConfigCategories.OTHER),
|
RECONSTRUCTOR_MISC("Misc. Recipes like Soul Sand (Reconstructor)", ConfigCategories.OTHER),
|
||||||
RECONSTRUCTOR_EXPLOSION_LENS("Lens of Detonation (Reconstructor)", ConfigCategories.OTHER),
|
RECONSTRUCTOR_EXPLOSION_LENS("Lens of Detonation (Reconstructor)", ConfigCategories.OTHER),
|
||||||
|
RECONSTRUCTOR_DEATH_LENS("Lens of Death (Reconstructor)", ConfigCategories.OTHER),
|
||||||
TELE_STAFF("Tele Staff", ConfigCategories.ITEMS_CRAFTING),
|
TELE_STAFF("Tele Staff", ConfigCategories.ITEMS_CRAFTING),
|
||||||
CASING("Casing", ConfigCategories.BLOCKS_CRAFTING),
|
CASING("Casing", ConfigCategories.BLOCKS_CRAFTING),
|
||||||
MAGNET_RING("Magnet Ring", ConfigCategories.ITEMS_CRAFTING),
|
MAGNET_RING("Magnet Ring", ConfigCategories.ITEMS_CRAFTING),
|
||||||
|
|
|
@ -78,14 +78,28 @@ public final class LensRecipeHandler{
|
||||||
if(ConfigCrafting.RECONSTRUCTOR_EXPLOSION_LENS.isEnabled()){
|
if(ConfigCrafting.RECONSTRUCTOR_EXPLOSION_LENS.isEnabled()){
|
||||||
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemColorLens), new ItemStack(InitItems.itemExplosionLens), 5000);
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemColorLens), new ItemStack(InitItems.itemExplosionLens), 5000);
|
||||||
recipeExplosionLens = RecipeUtil.lastReconstructorRecipe();
|
recipeExplosionLens = RecipeUtil.lastReconstructorRecipe();
|
||||||
|
|
||||||
|
if(ConfigCrafting.RECONSTRUCTOR_DEATH_LENS.isEnabled()){
|
||||||
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemExplosionLens), new ItemStack(InitItems.itemDamageLens), 5000);
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemExplosionLens), new ItemStack(InitItems.itemDamageLens), 5000);
|
||||||
}
|
|
||||||
else{
|
|
||||||
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemColorLens), new ItemStack(InitItems.itemDamageLens), 5000);
|
|
||||||
}
|
|
||||||
recipeDamageLens = RecipeUtil.lastReconstructorRecipe();
|
recipeDamageLens = RecipeUtil.lastReconstructorRecipe();
|
||||||
|
|
||||||
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemDamageLens), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 5000);
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemDamageLens), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 5000);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemExplosionLens), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 5000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
if(ConfigCrafting.RECONSTRUCTOR_DEATH_LENS.isEnabled()){
|
||||||
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemColorLens), new ItemStack(InitItems.itemDamageLens), 5000);
|
||||||
|
recipeDamageLens = RecipeUtil.lastReconstructorRecipe();
|
||||||
|
|
||||||
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemDamageLens), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 5000);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
ActuallyAdditionsAPI.addReconstructorLensConversionRecipe(new ItemStack(InitItems.itemColorLens), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.LENS.ordinal()), 5000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Misc
|
//Misc
|
||||||
if(ConfigCrafting.RECONSTRUCTOR_MISC.isEnabled()){
|
if(ConfigCrafting.RECONSTRUCTOR_MISC.isEnabled()){
|
||||||
|
|
Loading…
Reference in a new issue