Performance tweaks: Calls to world.getTileEntity are expensive avoid them when possible