Fixed shroom powder potion effect chance
This commit is contained in:
parent
118bdae86c
commit
767ba3a69f
|
@ -165,7 +165,7 @@ public class ModItems
|
|||
pinecone = registerItem(new Item(), "pinecone");
|
||||
shroompowder = registerItem(new ItemFood(1, 0.1F, false), "shroompowder");
|
||||
((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");
|
||||
|
||||
earth = registerItem(new Item(), "earth");
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
package biomesoplenty.core;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
@ -30,9 +31,6 @@ import biomesoplenty.common.init.ModPotions;
|
|||
import biomesoplenty.common.init.ModSounds;
|
||||
import biomesoplenty.common.init.ModVanillaCompat;
|
||||
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.EventHandler;
|
||||
import net.minecraftforge.fml.common.Mod.Instance;
|
||||
|
|
Loading…
Reference in New Issue