Changed the recipe of the Sanguine Scientiem
Properly incremented the mod version...
This commit is contained in:
parent
eceb0eab6e
commit
f043eb0fde
|
@ -1,3 +1,8 @@
|
||||||
|
------------------------------------------------------
|
||||||
|
Version 2.0.2-45
|
||||||
|
------------------------------------------------------
|
||||||
|
- Changed the recipe of the Sanguine Scientiem
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.0.2-44
|
Version 2.0.2-44
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
mod_name=BloodMagic
|
mod_name=BloodMagic
|
||||||
package_group=com.wayoftime.bloodmagic
|
package_group=com.wayoftime.bloodmagic
|
||||||
mod_version=2.0.1
|
mod_version=2.0.2
|
||||||
mc_version=1.9.4
|
mc_version=1.9.4
|
||||||
forge_version=12.17.0.1957
|
forge_version=12.17.0.1957
|
||||||
curse_id=224791
|
curse_id=224791
|
||||||
|
|
|
@ -1,46 +1,54 @@
|
||||||
package WayofTime.bloodmagic.compat.guideapi;
|
package WayofTime.bloodmagic.compat.guideapi;
|
||||||
|
|
||||||
import WayofTime.bloodmagic.api.altar.EnumAltarTier;
|
import net.minecraft.init.Blocks;
|
||||||
import WayofTime.bloodmagic.api.registry.AltarRecipeRegistry;
|
|
||||||
import WayofTime.bloodmagic.compat.ICompatibility;
|
|
||||||
import amerifrance.guideapi.api.GuideAPI;
|
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
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
|
@Override
|
||||||
public void loadCompatibility(InitializationPhase phase) {
|
public void loadCompatibility(InitializationPhase phase)
|
||||||
switch (phase) {
|
{
|
||||||
case PRE_INIT: {
|
switch (phase)
|
||||||
GuideBloodMagic.initBook();
|
{
|
||||||
GameRegistry.register(GuideBloodMagic.guideBook);
|
case PRE_INIT:
|
||||||
AltarRecipeRegistry.registerRecipe(new AltarRecipeRegistry.AltarRecipe(new ItemStack(Items.BOOK), GuideAPI.getStackFromBook(GuideBloodMagic.guideBook), EnumAltarTier.ONE, 500, 2, 0));
|
{
|
||||||
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
|
GuideBloodMagic.initBook();
|
||||||
GuideAPI.setModel(GuideBloodMagic.guideBook);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case INIT: {
|
case INIT:
|
||||||
break;
|
{
|
||||||
}
|
break;
|
||||||
case POST_INIT: {
|
}
|
||||||
GuideBloodMagic.initCategories();
|
case POST_INIT:
|
||||||
break;
|
{
|
||||||
}
|
GuideBloodMagic.initCategories();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getModId() {
|
public String getModId()
|
||||||
|
{
|
||||||
return "guideapi";
|
return "guideapi";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean enableCompat() {
|
public boolean enableCompat()
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue