ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemCoffeeBean.java
2016-05-16 22:52:28 +02:00

28 lines
No EOL
805 B
Java

/*
* This file ("ItemCoffeeBean.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015-2016 Ellpeck Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.items;
import de.ellpeck.actuallyadditions.mod.items.base.ItemFoodBase;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
public class ItemCoffeeBean extends ItemFoodBase{
public ItemCoffeeBean(String name){
super(1, 1F, false, name);
this.setMaxDamage(0);
}
@Override
public EnumRarity getRarity(ItemStack stack){
return EnumRarity.RARE;
}
}