Clean up unused code

This commit is contained in:
Sollace 2019-02-07 13:16:43 +02:00
parent 168403b6e4
commit 6cb2ee69b9

View file

@ -8,8 +8,6 @@ import net.minecraft.util.NonNullList;
public class ItemAppleMultiType extends ItemApple implements IMultiItem {
private int[] typeRarities = new int[0];
private String[] subTypes = new String[0];
private String[] variants = subTypes;
@ -38,19 +36,10 @@ public class ItemAppleMultiType extends ItemApple implements IMultiItem {
return variants;
}
protected int[] getTypeRarities() {
return typeRarities;
}
protected String[] getSubTypes() {
return subTypes;
}
public ItemAppleMultiType setTypeRarities(int ... rarity) {
typeRarities = rarity;
return this;
}
@Override
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
if (isInCreativeTab(tab)) {