rename classes
This commit is contained in:
		@@ -6,10 +6,10 @@ import net.minecraft.inventory.Slot;
 | 
			
		||||
import net.minecraft.item.ItemStack;
 | 
			
		||||
import storagecraft.container.slot.SlotSpecimen;
 | 
			
		||||
 | 
			
		||||
public class ContainerSC extends Container {
 | 
			
		||||
public class ContainerBase extends Container {
 | 
			
		||||
	private EntityPlayer player;
 | 
			
		||||
 | 
			
		||||
	public ContainerSC(EntityPlayer player) {
 | 
			
		||||
	public ContainerBase(EntityPlayer player) {
 | 
			
		||||
		this.player = player;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@@ -2,7 +2,7 @@ package storagecraft.container;
 | 
			
		||||
 | 
			
		||||
import net.minecraft.entity.player.EntityPlayer;
 | 
			
		||||
 | 
			
		||||
public class ContainerController extends ContainerSC {
 | 
			
		||||
public class ContainerController extends ContainerBase {
 | 
			
		||||
	public ContainerController(EntityPlayer player) {
 | 
			
		||||
		super(player);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,11 @@
 | 
			
		||||
package storagecraft.container;
 | 
			
		||||
 | 
			
		||||
import net.minecraft.entity.player.EntityPlayer;
 | 
			
		||||
import storagecraft.SCItems;
 | 
			
		||||
import storagecraft.StorageCraftItems;
 | 
			
		||||
import storagecraft.container.slot.SlotItemFilter;
 | 
			
		||||
import storagecraft.tile.TileDrive;
 | 
			
		||||
 | 
			
		||||
public class ContainerDrive extends ContainerSC {
 | 
			
		||||
public class ContainerDrive extends ContainerBase {
 | 
			
		||||
	public ContainerDrive(EntityPlayer player, TileDrive drive) {
 | 
			
		||||
		super(player);
 | 
			
		||||
 | 
			
		||||
@@ -15,7 +15,7 @@ public class ContainerDrive extends ContainerSC {
 | 
			
		||||
		int y = 20;
 | 
			
		||||
 | 
			
		||||
		for (int i = 0; i < 8; ++i) {
 | 
			
		||||
			addSlotToContainer(new SlotItemFilter(drive, i, x, y, SCItems.STORAGE_CELL));
 | 
			
		||||
			addSlotToContainer(new SlotItemFilter(drive, i, x, y, StorageCraftItems.STORAGE_CELL));
 | 
			
		||||
 | 
			
		||||
			if ((i + 1) % 2 == 0) {
 | 
			
		||||
				x = 71;
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ package storagecraft.container;
 | 
			
		||||
 | 
			
		||||
import net.minecraft.entity.player.EntityPlayer;
 | 
			
		||||
 | 
			
		||||
public class ContainerGrid extends ContainerSC {
 | 
			
		||||
public class ContainerGrid extends ContainerBase {
 | 
			
		||||
	public ContainerGrid(EntityPlayer player) {
 | 
			
		||||
		super(player);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ import net.minecraft.entity.player.EntityPlayer;
 | 
			
		||||
import storagecraft.container.slot.SlotSpecimen;
 | 
			
		||||
import storagecraft.tile.TileImporter;
 | 
			
		||||
 | 
			
		||||
public class ContainerImporter extends ContainerSC {
 | 
			
		||||
public class ContainerImporter extends ContainerBase {
 | 
			
		||||
	public ContainerImporter(EntityPlayer player, TileImporter importer) {
 | 
			
		||||
		super(player);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user