added glowing to spirit thing

This commit is contained in:
Ellpeck 2018-11-21 12:19:43 +01:00
parent b096dad3bf
commit 40a6e80fa8
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,17 @@
package de.ellpeck.naturesaura.items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ItemGlowing extends ItemImpl {
public ItemGlowing(String baseName) {
super(baseName);
}
@Override
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack stack) {
return true;
}
}

View file

@ -30,5 +30,5 @@ public final class ModItems {
public static final Item AURA_BOTTLE = new ItemAuraBottle();
public static final Item FARMING_STENCIL = new ItemImpl("farming_stencil");
public static final Item SKY_INGOT = new ItemImpl("sky_ingot");
public static final Item CALLING_SPIRIT = new ItemImpl("calling_spirit");
public static final Item CALLING_SPIRIT = new ItemGlowing("calling_spirit");
}