Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderProyects committed Apr 7, 2023
1 parent a7ccb77 commit bd32940
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dependencies {
api('com.github.GTNewHorizons:Botania:1.9.2-GTNH:dev')
api('com.github.GTNewHorizons:Botanic-horizons:1.0.14-GTNH:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.41.254:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.42.36:dev')
api('com.github.GTNewHorizons:Baubles:1.0.1.14:dev')
compileOnly("com.github.GTNewHorizons:CodeChickenLib:1.1.5.3:dev")
compileOnly("com.github.GTNewHorizons:CodeChickenCore:1.1.5:dev")
Expand Down
1 change: 0 additions & 1 deletion src/main/java/ab/common/core/proxy/CommonProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public void preInit(FMLPreInitializationEvent event) {

public void init(FMLInitializationEvent event) {
NetworkRegistry.INSTANCE.registerGuiHandler(AdvancedBotany.instance, new GuiHandler());
// RecipeListAB.init();
NetworkHandler.registerPackets();
ModHelperManager.init();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import ab.api.AchievementAB;
import ab.api.AdvancedBotanyAPI;
// import ab.utils.*;

public class AchievementRegister {

Expand Down
1 change: 0 additions & 1 deletion src/main/java/ab/common/lib/register/FlowerRegister.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import ab.common.block.subtile.SubTileAspecolus;
import ab.common.block.subtile.SubTileDictarius;
import ab.common.block.subtile.SubTilePureGladiolus;
// import ab.utils.*;

public class FlowerRegister {

Expand Down
21 changes: 2 additions & 19 deletions src/main/java/ab/common/lib/register/RecipeListAB.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public class RecipeListAB implements IModHelper {

public void preInit() {}

public void init() {}

public void postInit() {
setupItemAspects();
setupCrafting();
Expand All @@ -148,10 +150,7 @@ public void postInit() {

public static void setupCrafting() {

// public static void init() {
relicInit();
// getBlocks();
// getItems();

BotaniaAPI.addCategory(categoryForgotten = new BLexiconCategory("forgotten", 5));
forgotten = BotaniaAPI.registerKnowledgeType("ab_forgotten", EnumChatFormatting.BLUE, false);
Expand Down Expand Up @@ -792,22 +791,6 @@ public static void setupCrafting() {
OreDictionary.getOres("gemExquisiteManaDiamond").get(0),
new ItemStack(BlockListAB.blockABStorage, 1, 0) });

/*
* ItemStack terraShatter = new ItemStack(ModItems.terraPick, 1, 0);
* terraShatter.stackTagCompound.setInteger("mana", Integer.MAX_VALUE - 1); Destroyer =
* ThaumcraftApi.addInfusionCraftingRecipe( "Destroyer", new ItemStack(ItemListAB.itemMihrillMultiTool), 12, new
* AspectList().add(Aspect.EARTH, 128).add(Aspect.MAGIC, 64).add(Aspect.TOOL, 64).add(Aspect.MINE, 64)
* .add(Aspect.CROP, 32).add(Aspect.HARVEST, 32).add(Aspect.TREE, 32), new ItemStack(ItemListAB.itemABResource,
* 1, 2), new ItemStack[] { new ItemStack(ModItems.terraAxe), new ItemStack(BlockListAB.blockABStorage, 1, 0),
* OreDictionary.getOres("gemExquisiteManaDiamond").get(0), new ItemStack(BlockListAB.blockABStorage, 1, 0),
* terraShatter, new ItemStack(ModBlocks.livingwood, 1, 5), OreDictionary.getOres("gemFlawlessAmber").get(0),
* new ItemStack(BlockListAB.blockLebethron, 1, 4), new ItemStack(ModItems.temperanceStone, 1, 0), new
* ItemStack(BlockListAB.blockLebethron, 1, 4), OreDictionary.getOres("gemFlawlessAmber").get(0), new
* ItemStack(ModBlocks.livingwood, 1, 5), new ItemStack(ItemListAB.itemTerraHoe), new
* ItemStack(BlockListAB.blockABStorage, 1, 0), OreDictionary.getOres("gemExquisiteManaDiamond").get(0), new
* ItemStack(BlockListAB.blockABStorage, 1, 0) });
*/

}

// Aspecolus recipe
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ab/utils/IModHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public interface IModHelper {

public void preInit();

// public void init();
public void init();

public void postInit();
}

0 comments on commit bd32940

Please sign in to comment.