- package me.km.items.noglint;
- import net.minecraft.item.ItemSplashPotion;
- import net.minecraft.item.ItemStack;
- import net.minecraftforge.fml.relauncher.Side;
- import net.minecraftforge.fml.relauncher.SideOnly;
- public class ItemNoGlintSplashPotion extends ItemSplashPotion
- {
- @SideOnly(Side.CLIENT)
- @Override
- public boolean hasEffect(ItemStack stack)
- {
- return stack.isItemEnchanted();
- }
- }
|