Fixed API errors and few warnings.
Added config option for Spring Water Regeneration Effect.
This commit is contained in:
parent
7ec487f428
commit
2a34130347
|
@ -2,8 +2,8 @@ package biomesoplenty.api;
|
||||||
|
|
||||||
public class Entities {
|
public class Entities {
|
||||||
|
|
||||||
public static Class Mudball = getClass("biomesoplenty.items.projectiles.EntityMudball");
|
public static Class Mudball = getClass("biomesoplenty.entities.projectiles.EntityMudball");
|
||||||
public static Class Dart = getClass("biomesoplenty.items.projectiles.EntityDart");
|
public static Class Dart = getClass("biomesoplenty.entities.projectiles.EntityDart");
|
||||||
public static Class JungleSpider = getClass("biomesoplenty.entities.EntityJungleSpider");
|
public static Class JungleSpider = getClass("biomesoplenty.entities.EntityJungleSpider");
|
||||||
public static Class Rosester = getClass("biomesoplenty.entities.EntityRosester");
|
public static Class Rosester = getClass("biomesoplenty.entities.EntityRosester");
|
||||||
public static Class Glob = getClass("biomesoplenty.entities.EntityGlob");
|
public static Class Glob = getClass("biomesoplenty.entities.EntityGlob");
|
||||||
|
|
|
@ -1109,6 +1109,7 @@ public class BOPConfiguration
|
||||||
public static boolean enderporterCrafting;
|
public static boolean enderporterCrafting;
|
||||||
public static boolean dartCrafting;
|
public static boolean dartCrafting;
|
||||||
public static boolean flowerbandCrafting;
|
public static boolean flowerbandCrafting;
|
||||||
|
public static boolean hotSpringsRegeneration;
|
||||||
|
|
||||||
public static int promisedLandSkyColor;
|
public static int promisedLandSkyColor;
|
||||||
|
|
||||||
|
@ -1123,6 +1124,7 @@ public class BOPConfiguration
|
||||||
achievements = config.get("Miscellanious Settings", "Add Biomes O\' Plenty Achievements", true).getBoolean(false);
|
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);
|
dungeonLoot = config.get("Miscellanious Settings", "Add Custom Dungeon Loot", true).getBoolean(false);
|
||||||
rainCreatesPuddles = config.get("Miscellanious Settings", "Enable Puddles During Rain", true).getBoolean(true);
|
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);
|
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);
|
mudTools = config.get("Crafting Settings", "Enable Mud Tool/Armor Crafting", true).getBoolean(true);
|
||||||
|
|
|
@ -18,6 +18,7 @@ import net.minecraftforge.fluids.FluidContainerRegistry;
|
||||||
import net.minecraftforge.fluids.FluidStack;
|
import net.minecraftforge.fluids.FluidStack;
|
||||||
import biomesoplenty.BiomesOPlenty;
|
import biomesoplenty.BiomesOPlenty;
|
||||||
import biomesoplenty.api.Fluids;
|
import biomesoplenty.api.Fluids;
|
||||||
|
import biomesoplenty.configuration.BOPConfiguration;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
|
@ -74,7 +75,7 @@ public class BlockFluidSpringWater extends BlockFluidClassic
|
||||||
{
|
{
|
||||||
int meta = world.getBlockMetadata(x, y, z);
|
int meta = world.getBlockMetadata(x, y, z);
|
||||||
|
|
||||||
if (!world.isRemote)
|
if (!world.isRemote && BOPConfiguration.Misc.hotSpringsRegeneration)
|
||||||
{
|
{
|
||||||
if (entity instanceof EntityLivingBase)
|
if (entity instanceof EntityLivingBase)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.1:BiomesOPlenty:0.5.6
|
||||||
1.6.2:BiomesOPlenty:0.6.0
|
1.6.2:BiomesOPlenty:0.6.0
|
Loading…
Reference in New Issue