Fixed shroom powder potion effect chance

This commit is contained in:
Forstride 2016-08-03 10:28:24 -04:00
parent 118bdae86c
commit 767ba3a69f
2 changed files with 2 additions and 4 deletions

View file

@ -165,7 +165,7 @@ public class ModItems
pinecone = registerItem(new Item(), "pinecone"); pinecone = registerItem(new Item(), "pinecone");
shroompowder = registerItem(new ItemFood(1, 0.1F, false), "shroompowder"); shroompowder = registerItem(new ItemFood(1, 0.1F, false), "shroompowder");
((ItemFood)shroompowder).setAlwaysEdible(); ((ItemFood)shroompowder).setAlwaysEdible();
((ItemFood)shroompowder).setPotionEffect(new PotionEffect(MobEffects.NAUSEA, 225, 0), 0.6F); ((ItemFood)shroompowder).setPotionEffect(new PotionEffect(MobEffects.NAUSEA, 225, 0), 1.0F);
ambrosia = registerItem(new ItemAmbrosia(), "ambrosia"); ambrosia = registerItem(new ItemAmbrosia(), "ambrosia");
earth = registerItem(new Item(), "earth"); earth = registerItem(new Item(), "earth");

View file

@ -9,6 +9,7 @@
package biomesoplenty.core; package biomesoplenty.core;
import java.io.File; import java.io.File;
import java.util.Locale;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
@ -30,9 +31,6 @@ import biomesoplenty.common.init.ModPotions;
import biomesoplenty.common.init.ModSounds; import biomesoplenty.common.init.ModSounds;
import biomesoplenty.common.init.ModVanillaCompat; import biomesoplenty.common.init.ModVanillaCompat;
import biomesoplenty.common.remote.TrailManager; import biomesoplenty.common.remote.TrailManager;
import biomesoplenty.common.world.WorldProviderHellBOP;
import net.minecraft.world.DimensionType;
import net.minecraftforge.common.DimensionManager;
import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.Mod.Instance;