Fixed API errors and few warnings.

Added config option for Spring Water Regeneration Effect.
This commit is contained in:
Amnet 2013-08-06 10:57:04 +02:00
parent 7ec487f428
commit 2a34130347
5 changed files with 7 additions and 4 deletions

View file

@ -2,8 +2,8 @@ package biomesoplenty.api;
public class Entities {
public static Class Mudball = getClass("biomesoplenty.items.projectiles.EntityMudball");
public static Class Dart = getClass("biomesoplenty.items.projectiles.EntityDart");
public static Class Mudball = getClass("biomesoplenty.entities.projectiles.EntityMudball");
public static Class Dart = getClass("biomesoplenty.entities.projectiles.EntityDart");
public static Class JungleSpider = getClass("biomesoplenty.entities.EntityJungleSpider");
public static Class Rosester = getClass("biomesoplenty.entities.EntityRosester");
public static Class Glob = getClass("biomesoplenty.entities.EntityGlob");

View file

@ -1109,6 +1109,7 @@ public class BOPConfiguration
public static boolean enderporterCrafting;
public static boolean dartCrafting;
public static boolean flowerbandCrafting;
public static boolean hotSpringsRegeneration;
public static int promisedLandSkyColor;
@ -1123,6 +1124,7 @@ public class BOPConfiguration
achievements = config.get("Miscellanious Settings", "Add Biomes O\' Plenty Achievements", true).getBoolean(false);
dungeonLoot = config.get("Miscellanious Settings", "Add Custom Dungeon Loot", true).getBoolean(false);
rainCreatesPuddles = config.get("Miscellanious Settings", "Enable Puddles During Rain", true).getBoolean(true);
hotSpringsRegeneration = config.get("Miscellanious Settings", "Enable Spring Water Regeneration Effect", true).getBoolean(true);
amethystTools = config.get("Crafting Settings", "Enable Amethyst Tool/Armor Crafting", true).getBoolean(true);
mudTools = config.get("Crafting Settings", "Enable Mud Tool/Armor Crafting", true).getBoolean(true);

View file

@ -18,6 +18,7 @@ import net.minecraftforge.fluids.FluidContainerRegistry;
import net.minecraftforge.fluids.FluidStack;
import biomesoplenty.BiomesOPlenty;
import biomesoplenty.api.Fluids;
import biomesoplenty.configuration.BOPConfiguration;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@ -74,7 +75,7 @@ public class BlockFluidSpringWater extends BlockFluidClassic
{
int meta = world.getBlockMetadata(x, y, z);
if (!world.isRemote)
if (!world.isRemote && BOPConfiguration.Misc.hotSpringsRegeneration)
{
if (entity instanceof EntityLivingBase)
{

View file

@ -1,3 +1,3 @@
1.5.2:BiomesOPlenty:0.5.5
1.5.2:BiomesOPlenty:0.5.9.3
1.6.1:BiomesOPlenty:0.5.6
1.6.2:BiomesOPlenty:0.6.0