Changed the recipe of the Sanguine Scientiem

Properly incremented the mod version...
This commit is contained in:
WayofTime 2016-06-16 15:40:44 -04:00
parent eceb0eab6e
commit f043eb0fde
3 changed files with 38 additions and 25 deletions

View file

@ -1,3 +1,8 @@
------------------------------------------------------
Version 2.0.2-45
------------------------------------------------------
- Changed the recipe of the Sanguine Scientiem
------------------------------------------------------
Version 2.0.2-44
------------------------------------------------------

View file

@ -1,6 +1,6 @@
mod_name=BloodMagic
package_group=com.wayoftime.bloodmagic
mod_version=2.0.1
mod_version=2.0.2
mc_version=1.9.4
forge_version=12.17.0.1957
curse_id=224791

View file

@ -1,46 +1,54 @@
package WayofTime.bloodmagic.compat.guideapi;
import WayofTime.bloodmagic.api.altar.EnumAltarTier;
import WayofTime.bloodmagic.api.registry.AltarRecipeRegistry;
import WayofTime.bloodmagic.compat.ICompatibility;
import amerifrance.guideapi.api.GuideAPI;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import WayofTime.bloodmagic.compat.ICompatibility;
import amerifrance.guideapi.api.GuideAPI;
public class CompatibilityGuideAPI implements ICompatibility {
public class CompatibilityGuideAPI implements ICompatibility
{
@Override
public void loadCompatibility(InitializationPhase phase) {
switch (phase) {
case PRE_INIT: {
GuideBloodMagic.initBook();
GameRegistry.register(GuideBloodMagic.guideBook);
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.BOOK), GuideAPI.getStackFromBook(GuideBloodMagic.guideBook), EnumAltarTier.ONE, 500, 2, 0));
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
GuideAPI.setModel(GuideBloodMagic.guideBook);
public void loadCompatibility(InitializationPhase phase)
{
switch (phase)
{
case PRE_INIT:
{
GuideBloodMagic.initBook();
GameRegistry.register(GuideBloodMagic.guideBook);
// AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.BOOK), GuideAPI.getStackFromBook(GuideBloodMagic.guideBook), EnumAltarTier.ONE, 500, 2, 0));
GameRegistry.addShapelessRecipe(GuideAPI.getStackFromBook(GuideBloodMagic.guideBook), new ItemStack(Items.BOOK), Blocks.GLASS, Items.FEATHER);
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
GuideAPI.setModel(GuideBloodMagic.guideBook);
break;
}
case INIT: {
break;
}
case POST_INIT: {
GuideBloodMagic.initCategories();
break;
}
break;
}
case INIT:
{
break;
}
case POST_INIT:
{
GuideBloodMagic.initCategories();
break;
}
}
}
@Override
public String getModId() {
public String getModId()
{
return "guideapi";
}
@Override
public boolean enableCompat() {
public boolean enableCompat()
{
return true;
}
}