First update pass (1/3) - ~1400 -> 82 errors

This is first update pass, which is mainly import reorganization, name
fixes, etc... Although some parts of second were done where changes
aren't important.
Errors: ~1400 -> 82.
This commit is contained in:
elix-x
2016-06-19 14:43:27 +02:00
parent d9725a7d9b
commit 5498eb6d7c
288 changed files with 1637 additions and 1420 deletions
+6 -6
View File
@@ -27,10 +27,10 @@ import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.IChatComponent;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentString;
import net.minecraft.util.text.TextComponentTranslation;
import appeng.block.AEBaseBlock;
import appeng.tile.events.TileEventType;
@@ -202,13 +202,13 @@ public abstract class AEBaseInvTile extends AEBaseTile implements ISidedInventor
}
@Override
public IChatComponent getDisplayName()
public ITextComponent getDisplayName()
{
if( this.hasCustomName() )
{
return new ChatComponentText( this.getCustomName() );
return new TextComponentString( this.getCustomName() );
}
return new ChatComponentTranslation( this.getBlockType().getUnlocalizedName() );
return new TextComponentTranslation( this.getBlockType().getUnlocalizedName() );
}
public abstract int[] getAccessibleSlotsBySide( EnumFacing whichSide );