mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
added glowing to spirit thing
This commit is contained in:
parent
b096dad3bf
commit
40a6e80fa8
2 changed files with 18 additions and 1 deletions
17
src/main/java/de/ellpeck/naturesaura/items/ItemGlowing.java
Normal file
17
src/main/java/de/ellpeck/naturesaura/items/ItemGlowing.java
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
|
@ -30,5 +30,5 @@ public final class ModItems {
|
||||||
public static final Item AURA_BOTTLE = new ItemAuraBottle();
|
public static final Item AURA_BOTTLE = new ItemAuraBottle();
|
||||||
public static final Item FARMING_STENCIL = new ItemImpl("farming_stencil");
|
public static final Item FARMING_STENCIL = new ItemImpl("farming_stencil");
|
||||||
public static final Item SKY_INGOT = new ItemImpl("sky_ingot");
|
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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue