2019-01-13 21:05:40 +01:00
|
|
|
package com.minelittlepony.unicopia.item;
|
|
|
|
|
2019-02-07 11:14:41 +01:00
|
|
|
import net.minecraft.creativetab.CreativeTabs;
|
2019-01-13 21:05:40 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
2019-02-07 11:14:41 +01:00
|
|
|
import net.minecraft.util.NonNullList;
|
2019-01-13 21:05:40 +01:00
|
|
|
|
|
|
|
public class ItemRottenApple extends ItemApple {
|
|
|
|
|
|
|
|
public ItemRottenApple(String domain, String name) {
|
|
|
|
super(domain, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getItemBurnTime(ItemStack stack) {
|
|
|
|
return 150;
|
|
|
|
}
|
2019-02-07 11:14:41 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
|
|
|
|
if (isInCreativeTab(tab)) {
|
|
|
|
items.add(new ItemStack(this));
|
|
|
|
}
|
|
|
|
}
|
2019-01-13 21:05:40 +01:00
|
|
|
}
|