mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Clean up unused code
This commit is contained in:
parent
168403b6e4
commit
6cb2ee69b9
1 changed files with 0 additions and 11 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue