
Add Javadocs for API classes that didn't already have them Redo 'nother redo Another redo Update ItemSigil.java Last one, I swear Fix
24 lines
744 B
Java
24 lines
744 B
Java
package WayofTime.bloodmagic.item.sigil;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.init.MobEffects;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.potion.PotionEffect;
|
|
import net.minecraft.world.World;
|
|
import WayofTime.bloodmagic.api.Constants;
|
|
|
|
public class ItemSigilFastMiner extends ItemSigilToggleableBase
|
|
{
|
|
public ItemSigilFastMiner()
|
|
{
|
|
super("fastMiner", 100);
|
|
setRegistryName(Constants.BloodMagicItem.SIGIL_FAST_MINER.getRegName());
|
|
}
|
|
|
|
@Override
|
|
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected)
|
|
{
|
|
player.addPotionEffect(new PotionEffect(MobEffects.digSpeed, 2, 0, true, false));
|
|
}
|
|
}
|