better name
This commit is contained in:
@@ -4,12 +4,12 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class InventoryBasic implements IInventory {
|
||||
public class InventorySC implements IInventory {
|
||||
private ItemStack[] inventory;
|
||||
private int size;
|
||||
private String name;
|
||||
|
||||
public InventoryBasic(String name, int size) {
|
||||
public InventorySC(String name, int size) {
|
||||
this.name = name;
|
||||
this.size = size;
|
||||
this.inventory = new ItemStack[size];
|
@@ -5,10 +5,10 @@ import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import storagecraft.SC;
|
||||
import storagecraft.inventory.InventoryBasic;
|
||||
import storagecraft.inventory.InventorySC;
|
||||
|
||||
public class TileDrive extends TileMachine implements IInventory {
|
||||
private InventoryBasic inventory = new InventoryBasic("drive", 8);
|
||||
private InventorySC inventory = new InventorySC("drive", 8);
|
||||
|
||||
@Override
|
||||
public int getEnergyUsage() {
|
||||
|
Reference in New Issue
Block a user