rename classes

This commit is contained in:
Raoul Van den Berge
2015-12-18 13:25:28 +01:00
parent 4d5af85215
commit 8bf0f66530
29 changed files with 86 additions and 86 deletions

View File

@@ -2,21 +2,21 @@ package storagecraft.item;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import storagecraft.SC;
import storagecraft.StorageCraft;
public class ItemSC extends Item {
public class ItemBase extends Item {
private String name;
public ItemSC(String name) {
public ItemBase(String name) {
this.name = name;
setCreativeTab(SC.TAB);
setCreativeTab(StorageCraft.TAB);
setTextureName("storagecraft:" + name);
}
@Override
public String getUnlocalizedName() {
return "item." + SC.ID + ":" + name;
return "item." + StorageCraft.ID + ":" + name;
}
@Override

View File

@@ -13,7 +13,7 @@ import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import storagecraft.storage.CellStorage;
public class ItemStorageCell extends ItemSC {
public class ItemStorageCell extends ItemBase {
private IIcon[] icons = new IIcon[5];
public ItemStorageCell() {