From 9f06c2397f549086b213fb1c3241f81933152a9e Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 26 May 2013 10:22:12 +1000 Subject: [PATCH] Swapped the "confusion" potion effect with hunger (Liquid Poison), made the Nourishment and Regeneration effects only apply when inside Spring Water --- .../biomesoplenty/liquids/BlockLiquidPoisonFlowing.java | 2 +- .../biomesoplenty/liquids/BlockLiquidPoisonStill.java | 2 +- .../biomesoplenty/liquids/BlockSpringWaterFlowing.java | 4 ++-- .../biomesoplenty/liquids/BlockSpringWaterStill.java | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonFlowing.java b/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonFlowing.java index c77921f46..1f5450128 100644 --- a/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonFlowing.java +++ b/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonFlowing.java @@ -321,7 +321,7 @@ public class BlockLiquidPoisonFlowing extends BlockFlowing implements ILiquid if (par5Entity instanceof EntityLiving) { ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.poison.id, 100)); - ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.confusion.id, 100)); + ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.hunger.id, 100)); } } diff --git a/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonStill.java b/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonStill.java index 8e68bf7ab..d9a81bb39 100644 --- a/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonStill.java +++ b/src/minecraft/biomesoplenty/liquids/BlockLiquidPoisonStill.java @@ -54,7 +54,7 @@ public class BlockLiquidPoisonStill extends BlockStationary implements ILiquid if (par5Entity instanceof EntityLiving) { ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.poison.id, 100)); - ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.confusion.id, 100)); + ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.hunger.id, 100)); } } diff --git a/src/minecraft/biomesoplenty/liquids/BlockSpringWaterFlowing.java b/src/minecraft/biomesoplenty/liquids/BlockSpringWaterFlowing.java index 97d55606c..af877b102 100644 --- a/src/minecraft/biomesoplenty/liquids/BlockSpringWaterFlowing.java +++ b/src/minecraft/biomesoplenty/liquids/BlockSpringWaterFlowing.java @@ -317,10 +317,10 @@ public class BlockSpringWaterFlowing extends BlockFlowing implements ILiquid int meta = par1World.getBlockMetadata(x, y, z); if (par5Entity instanceof EntityLiving) - ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 100)); + ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 1)); if (par5Entity instanceof EntityPlayer) - ((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 100)); + ((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 1)); } @Override diff --git a/src/minecraft/biomesoplenty/liquids/BlockSpringWaterStill.java b/src/minecraft/biomesoplenty/liquids/BlockSpringWaterStill.java index ce4348a4a..b025f0b79 100644 --- a/src/minecraft/biomesoplenty/liquids/BlockSpringWaterStill.java +++ b/src/minecraft/biomesoplenty/liquids/BlockSpringWaterStill.java @@ -57,10 +57,10 @@ public class BlockSpringWaterStill extends BlockStationary implements ILiquid int meta = par1World.getBlockMetadata(x, y, z); if (par5Entity instanceof EntityLiving) - ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 100)); + ((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 1)); if (par5Entity instanceof EntityPlayer) - ((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 100)); + ((EntityPlayer)par5Entity).addPotionEffect(new PotionEffect(Potions.nourishment.get().id, 1)); } @Override