NaturesAura/src/main/java/de/ellpeck/naturesaura/items/ItemGlowing.java

20 lines
529 B
Java
Raw Normal View History

2018-11-21 12:19:43 +01:00
package de.ellpeck.naturesaura.items;
2019-11-04 19:08:49 +01:00
import de.ellpeck.naturesaura.NaturesAura;
2018-11-21 12:19:43 +01:00
import net.minecraft.item.ItemStack;
2019-10-20 22:30:49 +02:00
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
2018-11-21 12:19:43 +01:00
2019-11-04 19:08:49 +01:00
// Name (Glowing) ambiguous?
2020-01-26 01:41:49 +01:00
public class ItemGlowing extends ItemImpl {
public ItemGlowing(String baseName) {
2019-11-04 19:08:49 +01:00
super(baseName, new Properties().group(NaturesAura.CREATIVE_TAB));
2018-11-21 12:19:43 +01:00
}
@Override
2019-10-20 22:30:49 +02:00
@OnlyIn(Dist.CLIENT)
2018-11-21 12:19:43 +01:00
public boolean hasEffect(ItemStack stack) {
return true;
}
}