Buggy code:
public class TileHexoriumGenerator extends TileEntity implements ISidedInventory { private static String machineName = "Hexorium<seq2seq4repair_space>Generator" ; private ArrayList < TileHexoriumFurnace > machinesHexoriumFurnace ; private int [ ] machinesHexoriumFurnaceX ; private int [ ] machinesHexoriumFurnaceY ; private int [ ] machinesHexoriumFurnaceZ ; private ArrayList < TileCrystalSeparator > machinesCrystalSeparator ; private int [ ] machinesCrystalSeparatorX ; private int [ ] machinesCrystalSeparatorY ; private int [ ] machinesCrystalSeparatorZ ; private ArrayList < TileMatrixReconstructor > machinesMatrixReconstructor ; private int [ ] machinesMatrixReconstructorX ; private int [ ] machinesMatrixReconstructorY ; private int [ ] machinesMatrixReconstructorZ ; private ArrayList < TilePersonalTeleportationPad > machinesPersonalTeleportationPad ; private int [ ] machinesPersonalTeleportationPadX ; private int [ ] machinesPersonalTeleportationPadY ; private int [ ] machinesPersonalTeleportationPadZ ; private static final int [ ] slotsSide = new int [ ] { 0 } ; private static final int [ ] slotsBlank = new int [ ] { 1 } ; private ItemStack [ ] machineItemStacks = new ItemStack [ 2 ] ; public static int energyPerTick = 32 ; private float energyTotal ; private float energy ; private float energyOut = 0 ; public int energyTotalGui ; public int energyGui ; public int energyOutGui ; private boolean firstTick = false ; public boolean canProvideEnergy = false ; private float pulledThisTick = 0 ; private float epsilon = 1.0E-4F ; @ Override public void openInventory ( ) { } @ Override public void closeInventory ( ) { } @ Override public int getSizeInventory ( ) { } @ Override public ItemStack getStackInSlot ( int slot ) { } @ Override public ItemStack decrStackSize ( int slot , int count ) { } @ Override public ItemStack getStackInSlotOnClosing ( int slot ) { } @ Override public void setInventorySlotContents ( int slot , ItemStack itemStack ) { } @ Override public int getInventoryStackLimit ( ) { } @ Override public int [ ] getAccessibleSlotsFromSide ( int side ) { <START_BUG> int meta = worldObj . getBlockMetadata ( xCoord , yCoord , zCoord ) ; <END_BUG> if ( ( meta >= 4 ) && ( meta < 8 ) ) meta -= 4 ; else if ( meta >= 8 ) meta -= 8 ; if ( ( side == 2 ) && ( meta == 0 ) ) return TileHexoriumGenerator . slotsSide ; else if ( ( side == 3 ) && ( meta == 2 ) ) return TileHexoriumGenerator . slotsSide ; else if ( ( side == 4 ) && ( meta == 3 ) ) return TileHexoriumGenerator . slotsSide ; else if ( ( side == 5 ) && ( meta == 1 ) ) return TileHexoriumGenerator . slotsSide ; else return TileHexoriumGenerator . slotsBlank ; } @ Override public boolean canInsertItem ( int slot , ItemStack itemstack , int par3 ) { } @ Override public boolean isItemValidForSlot ( int slot , ItemStack itemstack ) { } @ Override public boolean canExtractItem ( int slot , ItemStack itemstack , int par3 ) { } @ Override public String getInventoryName ( ) { } @ Override public boolean hasCustomInventoryName ( ) { } @ Override public boolean isUseableByPlayer ( EntityPlayer player ) { } @ Override public void readFromNBT ( NBTTagCompound tagCompound ) { } @ Override public void writeToNBT ( NBTTagCompound tagCompound ) { } @ Override public void updateEntity ( ) { } public boolean startPulling ( float requestedEnergy ) { } public float pullEnergy ( float requestedEnergy ) { } public void stopPulling ( float requestedEnergy ) { } private void restartMachinesStop ( ) { } private void restartMachinesStart ( ) { } public void injectMachines ( ArrayList < TileHexoriumFurnace > incomingHexoriumFurnace , ArrayList < TileCrystalSeparator > incomingCrystalSeparator , ArrayList < TileMatrixReconstructor > incomingMatrixReconstructor , ArrayList < TilePersonalTeleportationPad > incomingPersonalTeleportationPad ) { } public static boolean canBurn ( ItemStack itemStack ) { } public static int getItemBurnTime ( ItemStack itemStack ) { } @ SideOnly ( Side . CLIENT ) public int getEnergyScaled ( int length ) { } }

Fix:
int meta = blockMetadata ;