mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-22 13:09:50 +00:00
Shit, I did it again.
Cleaning up old TC3 stuff, preparing to try integrating TC4. Cleaning up helper stuff so it is more consistent & straightforward.
This commit is contained in:
1 parent
e23ebd1011
commit
3d75e97b20
39 files changed
+513
-973
No files matched your search
@@ -33,17 +33,7 @@ public class CraftingManager
|
||||
// Broken up into seperate sections to make things a bit easier to find.
|
||||
setupVanillaCrafting();
|
||||
setupCentrifugeRecipes();
|
||||
setupSqueezerRecipes();
|
||||
setupCarpenterRecipes();
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
ThaumcraftHelper.setupThaumcraftCrafting();
|
||||
}
|
||||
else
|
||||
{
|
||||
setupThaumcraftAlternativeCrafting();
|
||||
}
|
||||
|
||||
registerLiquidContainer(Config.magicCapsule);
|
||||
registerLiquidContainer(Config.voidCapsule);
|
||||
@@ -314,6 +304,24 @@ public class CraftingManager
|
||||
"xxx", "xxx", "xxx",
|
||||
'x', Config.nuggets.getStackForType(NuggetType.APATITE)
|
||||
}));
|
||||
|
||||
output = Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY, 2);
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
" E ", "pOp", " E ",
|
||||
'E', Item.eyeOfEnder,
|
||||
'p', Item.enderPearl,
|
||||
'W', Block.obsidian
|
||||
});
|
||||
|
||||
output = Config.voidCapsule.getCapsuleForLiquid(FluidType.EMPTY);
|
||||
output.stackSize = 4;
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
"T T", "GFG", "T T",
|
||||
'G', Block.thinGlass,
|
||||
'F', Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY),
|
||||
'T', Item.goldNugget
|
||||
});
|
||||
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
@@ -329,7 +337,7 @@ public class CraftingManager
|
||||
}
|
||||
|
||||
// Essentia bottles
|
||||
output = new ItemStack(Config.tcEssentiaBottle);
|
||||
/*output = new ItemStack(Config.tcEssentiaBottle);
|
||||
output.stackSize = 8;
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
" C ", "GPG", "PGP",
|
||||
@@ -343,7 +351,7 @@ public class CraftingManager
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
" W ", "W W", " W ",
|
||||
'W', Config.wax
|
||||
});
|
||||
});*/
|
||||
|
||||
output = new ItemStack(Config.tcMiscResource, 1, ThaumcraftHelper.MiscResource.KNOWLEDGE_FRAGMENT.ordinal());
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
@@ -455,12 +463,6 @@ public class CraftingManager
|
||||
new int[] { 85, 10, 2 } );
|
||||
}
|
||||
}
|
||||
|
||||
private static void setupSqueezerRecipes()
|
||||
{
|
||||
// Squeezer recipes
|
||||
// if (ThaumcraftHelper.isActive()) { }
|
||||
}
|
||||
|
||||
private static void setupCarpenterRecipes()
|
||||
{
|
||||
@@ -499,6 +501,14 @@ public class CraftingManager
|
||||
'J', ItemInterface.getItem("royalJelly"),
|
||||
'D', Config.drops.getStackForType(DropType.ENCHANTED)
|
||||
});
|
||||
|
||||
output = new ItemStack(Config.hiveFrameMagic);
|
||||
input = ItemInterface.getItem("frameUntreated");
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
"www", "wfw", "www",
|
||||
'w', Config.wax.getStackForType(WaxType.MAGIC),
|
||||
'f', input
|
||||
});
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
@@ -512,17 +522,6 @@ public class CraftingManager
|
||||
'W', input,
|
||||
'T', new ItemStack(Config.thaumaturgeBackpackT1)
|
||||
});
|
||||
output = new ItemStack(Config.planksWood, 4, 0);
|
||||
RecipeManagers.carpenterManager.addRecipe(8, new FluidStack(FluidRegistry.WATER, 500), null, output, new Object[] {
|
||||
"B",
|
||||
'B', new ItemStack(Config.tcLog, 1, 0)
|
||||
});
|
||||
|
||||
output = new ItemStack(Config.planksWood, 6, 1);
|
||||
RecipeManagers.carpenterManager.addRecipe(8, new FluidStack(FluidRegistry.WATER, 500), null, output, new Object[] {
|
||||
"B",
|
||||
'B', new ItemStack(Config.tcLog, 1, 1)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -565,28 +564,4 @@ public class CraftingManager
|
||||
// Empty will be set to unavailable. Obviously, it always is.
|
||||
FluidType.EMPTY.available = true;
|
||||
}
|
||||
|
||||
private static void setupThaumcraftAlternativeCrafting()
|
||||
{
|
||||
ItemStack input, output;
|
||||
|
||||
output = new ItemStack(Config.hiveFrameMagic);
|
||||
input = ItemInterface.getItem("frameUntreated");
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
"www", "wfw", "www",
|
||||
'w', Config.wax.getStackForType(WaxType.MAGIC),
|
||||
'f', input
|
||||
});
|
||||
|
||||
output = Config.voidCapsule.getCapsuleForLiquid(FluidType.EMPTY);
|
||||
output.stackSize = 4;
|
||||
GameRegistry.addRecipe(output, new Object[] {
|
||||
"wDw", "GPG", "TwT",
|
||||
'G', Block.glass,
|
||||
'D', Item.diamond,
|
||||
'P', Item.eyeOfEnder,
|
||||
'T', Item.ingotGold,
|
||||
'w', Config.wax.getStackForType(WaxType.MAGIC)
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user