commit
8632aeb253
6 changed files with 14 additions and 7 deletions
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
import java.util.zip.ZipEntry;
|
import java.util.zip.ZipEntry;
|
||||||
import java.util.zip.ZipInputStream;
|
import java.util.zip.ZipInputStream;
|
||||||
|
|
||||||
|
import WayofTime.alchemicalWizardry.common.thread.CommandDownloadGAPI;
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
|
@ -254,7 +255,6 @@ import WayofTime.alchemicalWizardry.common.spell.simple.SpellWateryGrave;
|
||||||
import WayofTime.alchemicalWizardry.common.spell.simple.SpellWindGust;
|
import WayofTime.alchemicalWizardry.common.spell.simple.SpellWindGust;
|
||||||
import WayofTime.alchemicalWizardry.common.summoning.SummoningHelperAW;
|
import WayofTime.alchemicalWizardry.common.summoning.SummoningHelperAW;
|
||||||
import WayofTime.alchemicalWizardry.common.summoning.meteor.MeteorRegistry;
|
import WayofTime.alchemicalWizardry.common.summoning.meteor.MeteorRegistry;
|
||||||
import WayofTime.alchemicalWizardry.common.thread.CommandDownloadGAPI;
|
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
|
@ -386,6 +386,8 @@ public class AlchemicalWizardry
|
||||||
public static boolean ritualDisabledPhantomHands;
|
public static boolean ritualDisabledPhantomHands;
|
||||||
public static boolean ritualDisabledSphereIsland;
|
public static boolean ritualDisabledSphereIsland;
|
||||||
|
|
||||||
|
public static boolean displayRitualAnimation;
|
||||||
|
|
||||||
public static boolean potionDisableRegen;
|
public static boolean potionDisableRegen;
|
||||||
public static boolean potionDisableNightVision;
|
public static boolean potionDisableNightVision;
|
||||||
public static boolean potionDisableFireResistance;
|
public static boolean potionDisableFireResistance;
|
||||||
|
|
|
@ -208,6 +208,7 @@ public class BloodMagicConfiguration
|
||||||
RenderHelper.yOffset = config.get("ClientSettings", "AlchemyHUDyOffset", 2).getInt();
|
RenderHelper.yOffset = config.get("ClientSettings", "AlchemyHUDyOffset", 2).getInt();
|
||||||
RenderHelper.lpBarX = config.get("ClientSettings", "LPHUDxOffset", 12).getInt();
|
RenderHelper.lpBarX = config.get("ClientSettings", "LPHUDxOffset", 12).getInt();
|
||||||
RenderHelper.lpBarY = config.get("ClientSettings", "LPHUDyOffset", 75).getInt();
|
RenderHelper.lpBarY = config.get("ClientSettings", "LPHUDyOffset", 75).getInt();
|
||||||
|
AlchemicalWizardry.displayRitualAnimation = config.get("ClientSettings", "Display Ritual Animation", true).getBoolean(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
config.save();
|
config.save();
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package WayofTime.alchemicalWizardry.client;
|
package WayofTime.alchemicalWizardry.client;
|
||||||
|
|
||||||
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.common.thread.GAPIChecker;
|
import WayofTime.alchemicalWizardry.common.thread.GAPIChecker;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
@ -159,7 +160,10 @@ public class ClientProxy extends CommonProxy
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TESpellParadigmBlock.class, new RenderSpellParadigmBlock());
|
ClientRegistry.bindTileEntitySpecialRenderer(TESpellParadigmBlock.class, new RenderSpellParadigmBlock());
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TESpellModifierBlock.class, new RenderSpellModifierBlock());
|
ClientRegistry.bindTileEntitySpecialRenderer(TESpellModifierBlock.class, new RenderSpellModifierBlock());
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEReagentConduit.class, new RenderReagentConduit());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEReagentConduit.class, new RenderReagentConduit());
|
||||||
|
if (AlchemicalWizardry.displayRitualAnimation)
|
||||||
|
{
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEMasterStone.class, new RenderMasterStone());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEMasterStone.class, new RenderMasterStone());
|
||||||
|
}
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEAlchemicCalcinator.class, new RenderAlchemicCalcinator());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEAlchemicCalcinator.class, new RenderAlchemicCalcinator());
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEBellJar.class, new RenderCrystalBelljar());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEBellJar.class, new RenderCrystalBelljar());
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class BloodMagicGuide
|
||||||
registerAlchemyBook();
|
registerAlchemyBook();
|
||||||
|
|
||||||
BookBuilder bmBookBuilder = new BookBuilder();
|
BookBuilder bmBookBuilder = new BookBuilder();
|
||||||
bmBookBuilder.setCategories(categories).setUnlocBookTitle("guide.BloodMagic.book.title").setUnlocWelcomeMessage("guide.BloodMagic.welcomeMessage").setUnlocDisplayName("guide.BloodMagic.book.name").setBookColor(new Color(190, 10, 0)).setAuthor("--Blood Magic");
|
bmBookBuilder.setCategories(categories).setUnlocBookTitle("guide.BloodMagic.book.title").setUnlocWelcomeMessage("guide.BloodMagic.welcomeMessage").setUnlocDisplayName("guide.BloodMagic.book.name").setBookColor(new Color(190, 10, 0)).setAuthor("-Blood Magic");
|
||||||
|
|
||||||
// bloodMagicGuide = new Book(categories, "guide.BloodMagic.book.title", "guide.BloodMagic.welcomeMessage", "guide.BloodMagic.book.name", new Color(190, 10, 0));
|
// bloodMagicGuide = new Book(categories, "guide.BloodMagic.book.title", "guide.BloodMagic.welcomeMessage", "guide.BloodMagic.book.name", new Color(190, 10, 0));
|
||||||
bloodMagicGuide = bmBookBuilder.build();
|
bloodMagicGuide = bmBookBuilder.build();
|
||||||
|
|
|
@ -252,7 +252,7 @@ public class SigilOfTheBridge extends EnergyItems implements ArmourUpgrade, ISig
|
||||||
}
|
}
|
||||||
|
|
||||||
int range = 2;
|
int range = 2;
|
||||||
int verticalOffset = -1;
|
int verticalOffset = -2;
|
||||||
|
|
||||||
if (player.isSneaking())
|
if (player.isSneaking())
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,9 +35,9 @@ public class TESpectralBlock extends TileEntity
|
||||||
{
|
{
|
||||||
super.updateEntity();
|
super.updateEntity();
|
||||||
|
|
||||||
if (worldObj.isRemote)
|
// if (worldObj.isRemote)
|
||||||
{
|
{
|
||||||
return;
|
// return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.ticksRemaining--;
|
this.ticksRemaining--;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue